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.
This commit is contained in:
Paul Sokolovsky 2017-01-27 21:28:03 +03:00
parent 0390bc97ea
commit 40e72e4a5c

View File

@ -7,7 +7,12 @@
#
BOARD ?= qemu_x86
ifeq ($(MAKECMDGOALS), minimal)
# For minimal, CONF_FILE must be overriden early due to $(Z_EXPORTS) target
CONF_FILE = prj_minimal.conf
else
CONF_FILE = prj.conf
endif
# Zephyr 1.5.0
#OUTDIR_PREFIX =
# Zephyr 1.6.0