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.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

authored by Peter Volkov and committed by Sam Ravnborg 92f83cc5 3f5e26ce

+1 -1
+1 -1
scripts/Makefile.modpost
··· 82 82 $(if $(CONFIG_MODULE_SRCVERSION_ALL),-a,) \ 83 83 $(if $(KBUILD_EXTMOD),-i,-o) $(kernelsymfile) \ 84 84 $(if $(KBUILD_EXTMOD),-I $(modulesymfile)) \ 85 - $(if $(KBUILD_EXTRA_SYMBOLS), $(patsubst %, -e %,$(EXTRA_SYMBOLS))) \ 85 + $(if $(KBUILD_EXTRA_SYMBOLS), $(patsubst %, -e %,$(KBUILD_EXTRA_SYMBOLS))) \ 86 86 $(if $(KBUILD_EXTMOD),-o $(modulesymfile)) \ 87 87 $(if $(CONFIG_DEBUG_SECTION_MISMATCH),,-S) \ 88 88 $(if $(CONFIG_MARKERS),-K $(kernelmarkersfile)) \