summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-01-27 21:28:03 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-01-27 21:43:13 +0300
commit40e72e4a5cc59fa005259b9e85393a13a32c0a12 (patch)
tree64c8d2491452a2ab254c40af94b703eb9b41cbf0
parent0390bc97eacb0de90af6a148b356faf0dd443d22 (diff)
downloadmicropython-40e72e4a5cc59fa005259b9e85393a13a32c0a12.tar.gz
micropython-40e72e4a5cc59fa005259b9e85393a13a32c0a12.zip
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.
-rw-r--r--zephyr/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/Makefile b/zephyr/Makefile
index ae707ff75f..7f35eefb5f 100644
--- a/zephyr/Makefile
+++ b/zephyr/Makefile
@@ -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