summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorKumar Gala <kumar.gala@linaro.org>2016-06-16 16:07:34 -0500
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2016-06-22 05:02:28 +0000
commit86cbc320f03565512a5cd2bfdfcb5c3a6cb6f557 (patch)
treec9b7cb5160bb390b4cbaca6f6e72fb75c04781f0 /Makefile.inc
parent5ccf5298b5cffe75fbe3d7657444a71774db329e (diff)
build: quote SOURCE_DIR to allow it to be a list
If SOURCE_DIR happens to be multiple directories we need to quote it so it gets passed correctly as a list. Change-Id: I7795ddecd016fad2048f957accd1557bb2215632 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 18fd0423d..8faee89ae 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -63,7 +63,7 @@ endif
export CFLAGS
zephyrmake = +$(MAKE) -C $(ZEPHYR_BASE) O=$(1) \
- PROJECT=$(PROJECT_BASE) SOURCE_DIR=$(SOURCE_DIR) $(2)
+ PROJECT=$(PROJECT_BASE) SOURCE_DIR="$(SOURCE_DIR)" $(2)
BOARDCONFIG = $(O)/.board_$(BOARD)