Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcbc0bf6

Browse files
Daniel Thompsonpfalcon
Daniel Thompson
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 parent2ea52cb commitcbc0bf6

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.zephyrqemuBOARD=$(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)

[8]ページ先頭

©2009-2025 Movatter.jp