Skip to content

Commit 40e72e4

Browse files
committed
zephyr: Make sure that correct Zephyr config is used for "minimal" build.
Overriding CONF_FILE in "minimal" target itself is too late due to include- pinned $(Z_EXPORTS) target.
1 parent 0390bc9 commit 40e72e4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

zephyr/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
#
88

99
BOARD ?= qemu_x86
10+
ifeq ($(MAKECMDGOALS), minimal)
11+
# For minimal, CONF_FILE must be overriden early due to $(Z_EXPORTS) target
12+
CONF_FILE = prj_minimal.conf
13+
else
1014
CONF_FILE = prj.conf
15+
endif
1116
# Zephyr 1.5.0
1217
#OUTDIR_PREFIX =
1318
# Zephyr 1.6.0

0 commit comments

Comments
 (0)