summaryrefslogtreecommitdiffstats
path: root/asm
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 /asm
parent1a29692c6f3d8d12cefd8e22028cfbd6d3f5b935 (diff)
downloadtalos-skiboot-31d20fc02c8ee7c12d84bc28ce732bbc362ce369.tar.gz
talos-skiboot-31d20fc02c8ee7c12d84bc28ce732bbc362ce369.zip
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 'asm')
-rw-r--r--asm/kernel-wrapper.S6
1 files changed, 1 insertions, 5 deletions
diff --git a/asm/kernel-wrapper.S b/asm/kernel-wrapper.S
index a9dc3d61..2ab4d671 100644
--- a/asm/kernel-wrapper.S
+++ b/asm/kernel-wrapper.S
@@ -15,12 +15,8 @@
*/
-#define stringify(expr) stringify_1(expr)
-/* Double-indirection required to stringify expansions */
-#define stringify_1(expr) #expr
-
.section ".builtin_kernel","a"
.balign 0x10000
#ifdef BUILTIN_KERNEL
- .incbin stringify(BUILTIN_KERNEL)
+ .incbin BUILTIN_KERNEL
#endif
OpenPOWER on IntegriCloud