diff options
author | Peter Volkov <pva@gentoo.org> | 2008-10-25 15:02:52 -0700 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-10-29 22:02:09 +0100 |
commit | 92f83cc56eeafdb8fcf07ceb89fd9a0212bd498c (patch) | |
tree | 8cac77db0b6ecde243d2eaac89387cb4f26e263f /scripts | |
parent | 3f5e26cee443eb4d3900cd3085664c3e51b72135 (diff) | |
download | linux-stable-92f83cc56eeafdb8fcf07ceb89fd9a0212bd498c.tar.gz linux-stable-92f83cc56eeafdb8fcf07ceb89fd9a0212bd498c.tar.bz2 linux-stable-92f83cc56eeafdb8fcf07ceb89fd9a0212bd498c.zip |
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.modpost | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index 9ee9783aea57..f4053dc7b5d6 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost @@ -82,7 +82,7 @@ modpost = scripts/mod/modpost \ $(if $(CONFIG_MODULE_SRCVERSION_ALL),-a,) \ $(if $(KBUILD_EXTMOD),-i,-o) $(kernelsymfile) \ $(if $(KBUILD_EXTMOD),-I $(modulesymfile)) \ - $(if $(KBUILD_EXTRA_SYMBOLS), $(patsubst %, -e %,$(EXTRA_SYMBOLS))) \ + $(if $(KBUILD_EXTRA_SYMBOLS), $(patsubst %, -e %,$(KBUILD_EXTRA_SYMBOLS))) \ $(if $(KBUILD_EXTMOD),-o $(modulesymfile)) \ $(if $(CONFIG_DEBUG_SECTION_MISMATCH),,-S) \ $(if $(CONFIG_MARKERS),-K $(kernelmarkersfile)) \ |