diff options
-rw-r--r-- | Makefile.main | 2 | ||||
-rw-r--r-- | asm/kernel-wrapper.S | 6 |
2 files changed, 2 insertions, 6 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: diff --git a/asm/kernel-wrapper.S b/asm/kernel-wrapper.S index a9dc3d6..2ab4d67 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 |