diff options
author | Anas Nashif <anas.nashif@intel.com> | 2016-03-12 08:41:31 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit@zephyrproject.org> | 2016-03-14 20:54:08 +0000 |
commit | 7bf6ce5b3bace61e39b8a816d24b405876e18334 (patch) | |
tree | 0a6ab2e1ca64722461f7fdb7e77301a648562f9e /Makefile.inc | |
parent | 05ea5d0cf2ed56836a7ee65f4ce2dfd736b7d095 (diff) |
build: support multiple defconfigs per board
We will now look for the defconfig to be used using wildcards which will
allow us to host similar boards in the same directory and share all existing
files.
JIRA: ZEP-103
Change-Id: Icfe5dc2fa4b2c4e21e6b1285d80e0c844d430d7d
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc index 2b04c72ca..37cb65256 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -24,7 +24,7 @@ KERNEL_TYPE ?= micro override CONF_FILE := $(strip $(subst $(DQUOTE),,$(CONF_FILE))) ifdef BOARD -KBUILD_DEFCONFIG_PATH=$(ZEPHYR_BASE)/boards/$(BOARD)/$(BOARD)_defconfig +KBUILD_DEFCONFIG_PATH=$(wildcard $(ZEPHYR_BASE)/boards/*/$(BOARD)_defconfig) export KBUILD_DEFCONFIG_PATH else $(error BOARD is not defined!) |