]> rtime.felk.cvut.cz Git - mcf548x/linux.git/blobdiff - scripts/Makefile.lib
initramfs: Fix build break on symbol-prefixed archs
[mcf548x/linux.git] / scripts / Makefile.lib
index 54fd1b700131e1e1fcb0ddd13d89ee3a06983ecb..e93525c5e91517048db79940d6b941c3676934d8 100644 (file)
@@ -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