Skip to content

Commit cbc0bf6

Browse files
Daniel Thompsonpfalcon
authored andcommitted
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>
1 parent 2ea52cb commit cbc0bf6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

zephyr/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ include ../py/mkrules.mk
5858
$(Z_DOTCONFIG):
5959
$(MAKE) -f Makefile.zephyr BOARD=$(BOARD) initconfig
6060

61-
all: $(LIBMICROPYTHON)
62-
$(MAKE) -f Makefile.zephyr BOARD=$(BOARD)
61+
GENERIC_TARGETS = all zephyr qemu qemugdb flash debug
62+
KCONFIG_TARGETS = config nconfig menuconfig xconfig gconfig
6363

64-
qemu: all
65-
$(MAKE) -f Makefile.zephyr qemu BOARD=$(BOARD)
64+
$(GENERIC_TARGETS) $(KCONFIG_TARGETS): $(LIBMICROPYTHON)
65+
$(MAKE) -f Makefile.zephyr BOARD=$(BOARD) $@
6666

6767
Z_AUTOCONF_H = outdir/$(OUTDIR_PREFIX)/include/generated/autoconf.h
6868

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy