mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] additional external module symbol dependecy handling options
@ 2014-12-02  9:18 Nicholas Mc Guire
  0 siblings, 0 replies; only message in thread
From: Nicholas Mc Guire @ 2014-12-02  9:18 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Michal Marek, Joe Perches, LKML


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-02  9:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-02  9:18 [PATCH] additional external module symbol dependecy handling options Nicholas Mc Guire

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®