aboutsummaryrefslogtreecommitdiff
path: root/Makefile.main
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-11-17 10:46:47 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-11-17 10:46:47 +1100
commit31d20fc02c8ee7c12d84bc28ce732bbc362ce369 (patch)
tree221d56d8256df3406b1972b5f76fe6c852e6ab89 /Makefile.main
parent1a29692c6f3d8d12cefd8e22028cfbd6d3f5b935 (diff)
downloadskiboot-31d20fc02c8ee7c12d84bc28ce732bbc362ce369.zip
skiboot-31d20fc02c8ee7c12d84bc28ce732bbc362ce369.tar.gz
skiboot-31d20fc02c8ee7c12d84bc28ce732bbc362ce369.tar.bz2
Quote built-in kernel path from Makefile
Otherwise, if your path contains something like "linux-foo" then the "linux" part gets replaced by the preprocessor due to stupid built-ins. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'Makefile.main')
-rw-r--r--Makefile.main2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.main b/Makefile.main
index 68f8a38..4df3cfd 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -75,7 +75,7 @@ CFLAGS += -mno-multiple
#CFLAGS += -mno-update
ifneq ($(KERNEL),)
-CPPFLAGS += -DBUILTIN_KERNEL="$(KERNEL)"
+CPPFLAGS += -DBUILTIN_KERNEL="\"$(KERNEL)\""
endif
.SECONDARY: