From: Peter Volkov <pva@gentoo.org>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [patch] fix not working KBUILD_EXTRA_SYMBOLS
Date: Tue, 14 Oct 2008 12:34:22 +0400 [thread overview]
Message-ID: <1223973262.16586.6.camel@localhost> (raw)
[-- Attachment #1: Type: text/plain, Size: 411 bytes --]
If you even define KBUILD_EXTRA_SYMBOLS in Makefile it will not be
expanded into command line argument for modpost. Patch in a
Note: this bug was reported and kernel bugzilla:
http://bugzilla.kernel.org/show_bug.cgi?id=11567
and patch was included in -mm tree.
The patch was generated against 2.6.26 kernel but I suppose it should
work applies to the linux/kernel/git/torvalds/linux-2.6.git too.
--
Peter.
[-- Attachment #2: linux-2.6-KBUILD_EXTRA_SYMBOLS.patch --]
[-- Type: text/x-patch, Size: 616 bytes --]
--- scripts/Makefile.modpost.orig 2008-09-14 13:34:16.000000000 +0400
+++ scripts/Makefile.modpost 2008-09-14 13:34:41.000000000 +0400
@@ -82,7 +82,7 @@
$(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)) \
reply other threads:[~2008-10-14 8:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1223973262.16586.6.camel@localhost \
--to=pva@gentoo.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.