diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2016-09-19 19:04:53 +0100 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-10-10 02:02:50 +0300 |
commit | cbc0bf6fec3d0992b905d09194c68046aff5e7f7 (patch) | |
tree | 929071d9354aba2b5d7416add5604672b9ec2b32 /zephyr | |
parent | 2ea52cb045de021747c24ff7ed73e82a18be2aab (diff) | |
download | micropython-cbc0bf6fec3d0992b905d09194c68046aff5e7f7.tar.gz micropython-cbc0bf6fec3d0992b905d09194c68046aff5e7f7.zip |
zephyr: Support extra make targets
The two variables, GENERIC_TARGETS and CONFIG_TARGETS come, respectively,
from the the lists shown during "make help" and "make kconfig-help".
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'zephyr')
-rw-r--r-- | zephyr/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zephyr/Makefile b/zephyr/Makefile index 4bdfa9ff0a..b39bbf1b78 100644 --- a/zephyr/Makefile +++ b/zephyr/Makefile @@ -58,11 +58,11 @@ include ../py/mkrules.mk $(Z_DOTCONFIG): $(MAKE) -f Makefile.zephyr BOARD=$(BOARD) initconfig -all: $(LIBMICROPYTHON) - $(MAKE) -f Makefile.zephyr BOARD=$(BOARD) +GENERIC_TARGETS = all zephyr qemu qemugdb flash debug +KCONFIG_TARGETS = config nconfig menuconfig xconfig gconfig -qemu: all - $(MAKE) -f Makefile.zephyr qemu BOARD=$(BOARD) +$(GENERIC_TARGETS) $(KCONFIG_TARGETS): $(LIBMICROPYTHON) + $(MAKE) -f Makefile.zephyr BOARD=$(BOARD) $@ Z_AUTOCONF_H = outdir/$(OUTDIR_PREFIX)/include/generated/autoconf.h |