summaryrefslogtreecommitdiff
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2010-10-20 00:11:53 +0400
committerMichal Marek <mmarek@suse.cz>2010-10-29 01:21:19 +0400
commitd63f6d1b4d3ad0d88685a5f8eb1c3cac01ddd0db (patch)
treebfdc12edd21a52a2d7eb54cd0b564a3b4c10fdcb /scripts/Makefile.lib
parentffe8018c3424892c9590048fc36caa6c3e0c8a76 (diff)
downloadlinux-d63f6d1b4d3ad0d88685a5f8eb1c3cac01ddd0db.tar.xz
initramfs: Fix build break on symbol-prefixed archs
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r--scripts/Makefile.lib4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 54fd1b700131..e93525c5e915 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -128,7 +128,9 @@ _c_flags += $(if $(patsubst n%,, \
endif
ifdef CONFIG_SYMBOL_PREFIX
-_cpp_flags += -DSYMBOL_PREFIX=$(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX))
+_sym_flags = -DSYMBOL_PREFIX=$(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX))
+_cpp_flags += $(_sym_flags)
+_a_flags += $(_sym_flags)
endif