1 parent 4b75351 commit df48f46Copy full SHA for df48f46
1 file changed
zephyr/Makefile
@@ -56,7 +56,12 @@ CFLAGS = $(KBUILD_CFLAGS) $(NOSTDINC_FLAGS) $(ZEPHYRINCLUDE) \
56
include ../py/mkrules.mk
57
58
$(Z_EXPORTS): $(CONF_FILE)
59
- $(MAKE) -f Makefile.zephyr BOARD=$(BOARD) CONF_FILE=$(CONF_FILE) initconfig outputexports
+ # We use single target here ($(Z_EXPORTS)) for simplicity, but actually
60
+ # number of things get generated here: 'initconfig' generates C header for
61
+ # Kconfig configuration, 'outputexports' generates make environment with CC,
62
+ # etc., and 'lib' generates other headers which may be included by zephyr.h,
63
+ # e.g. DTS-related.
64
+ $(MAKE) -f Makefile.zephyr BOARD=$(BOARD) CONF_FILE=$(CONF_FILE) initconfig outputexports lib
65
66
GENERIC_TARGETS = all zephyr run qemu qemugdb flash debug
67
KCONFIG_TARGETS = \
0 commit comments