Merge branch 'for-33' of git://repo.or.cz/linux-kbuild
[linux-2.6-block.git] / scripts / Makefile.lib
index d9f0cb837400985be39589eb8e0b572b7e5fbd54..cd815ac2a50b41da74f32d950b7e759e60f28605 100644 (file)
@@ -127,6 +127,11 @@ _c_flags += $(if $(patsubst n%,, \
                $(CFLAGS_GCOV))
 endif
 
+ifdef CONFIG_SYMBOL_PREFIX
+_cpp_flags += -DSYMBOL_PREFIX=$(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX))
+endif
+
+
 # If building the kernel in a separate objtree expand all occurrences
 # of -Idir to -I$(srctree)/dir except for absolute paths (starting with '/').