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>hacking-on-plane
parent
fc217133ad
commit
00a3b12f5f
|
@ -71,11 +71,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) $@
|
||||
|
||||
# Note: doesn't rebuild binary, just runs qemu against it
|
||||
qemu-net:
|
||||
|
|
Loading…
Reference in New Issue