Skip to content
Snippets Groups Projects
Commit cbc0bf6f authored by Daniel Thompson's avatar Daniel Thompson Committed by Paul Sokolovsky
Browse files

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: default avatarDaniel Thompson <daniel.thompson@linaro.org>
parent 2ea52cb0
No related branches found
No related tags found
No related merge requests found
...@@ -58,11 +58,11 @@ include ../py/mkrules.mk ...@@ -58,11 +58,11 @@ include ../py/mkrules.mk
$(Z_DOTCONFIG): $(Z_DOTCONFIG):
$(MAKE) -f Makefile.zephyr BOARD=$(BOARD) initconfig $(MAKE) -f Makefile.zephyr BOARD=$(BOARD) initconfig
all: $(LIBMICROPYTHON) GENERIC_TARGETS = all zephyr qemu qemugdb flash debug
$(MAKE) -f Makefile.zephyr BOARD=$(BOARD) KCONFIG_TARGETS = config nconfig menuconfig xconfig gconfig
qemu: all $(GENERIC_TARGETS) $(KCONFIG_TARGETS): $(LIBMICROPYTHON)
$(MAKE) -f Makefile.zephyr qemu BOARD=$(BOARD) $(MAKE) -f Makefile.zephyr BOARD=$(BOARD) $@
Z_AUTOCONF_H = outdir/$(OUTDIR_PREFIX)/include/generated/autoconf.h Z_AUTOCONF_H = outdir/$(OUTDIR_PREFIX)/include/generated/autoconf.h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment