History

kbuild: fix KBUILD_EXTRA_SYMBOLS

Taken from http://bugzilla.kernel.org/show_bug.cgi?id=11567 If you even define KBUILD_EXTRA_SYMBOLS in Makefile it will not be expanded into command line argument for modpost.

Peter Volkov committed 18 years ago

Commit 92f83cc1 parent 3f5e26c1 file · +1 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/Makefile.modpost+1−1
@@ -82,7 +82,7 @@ modpost = scripts/mod/modpost \ · 81 unmodified lines
8282 $(if $(CONFIG_MODULE_SRCVERSION_ALL),-a,) \
8383 $(if $(KBUILD_EXTMOD),-i,-o) $(kernelsymfile) \
8484 $(if $(KBUILD_EXTMOD),-I $(modulesymfile)) \
85− $(if $(KBUILD_EXTRA_SYMBOLS), $(patsubst %, -e %,$(EXTRA_SYMBOLS))) \
85+ $(if $(KBUILD_EXTRA_SYMBOLS), $(patsubst %, -e %,$(KBUILD_EXTRA_SYMBOLS))) \
8686 $(if $(KBUILD_EXTMOD),-o $(modulesymfile)) \
8787 $(if $(CONFIG_DEBUG_SECTION_MISMATCH),,-S) \
8888 $(if $(CONFIG_MARKERS),-K $(kernelmarkersfile)) \