From: Nicholas Mc Guire <der.herr@hofr.at>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: Michal Marek <mmarek@suse.cz>, Joe Perches <joe@perches.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] additional external module symbol dependecy handling options
Date: Tue, 2 Dec 2014 10:18:36 +0100 [thread overview]
Message-ID: <20141202091836.GG13909@opentech.at> (raw)
additional external module symbol dependecy handling options
The use of KBUILD_EXTRA_SYMBOLS is clarified by an example and
the additional option of using KBUILD_EXTMOD is added as
equivalent alternative.
This patch is against linux 3.18.0-rc6
Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
---
Documentation/kbuild/modules.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/Documentation/kbuild/modules.txt b/Documentation/kbuild/modules.txt
index 3fb39e0..450af1f 100644
--- a/Documentation/kbuild/modules.txt
+++ b/Documentation/kbuild/modules.txt
@@ -517,6 +517,18 @@ build.
These files will be loaded by modpost during the
initialization of its symbol tables.
+ Example:
+ $ make KBUILD_EXTRA_SYMBOLS=/PATH/TO/bar/Module.symvers \
+ -C $KDIR M=$PWD modules
+
+ Use "make" variable KBUILD_EXTMOD
+ Alternatively to passing the Module.symvers files explicitly
+ one can also pass the directory containing the external module
+ that will satisfy the dependecies with KBUILD_EXTMOD and
+ Kbuild will pick up the Module.symvers found there.
+
+ Example:
+ $ make -C $KDIR M=$PWD KBUILD_EXTMOD=/PATH/TO/bar/ modules
=== 7. Tips & Tricks
--
1.7.10.4
reply other threads:[~2014-12-02 9:27 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=20141202091836.GG13909@opentech.at \
--to=der.herr@hofr.at \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
--cc=rdunlap@infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®