Skip to contentSkip to conversation

additional external module symbol dependecy handling options

PATCH New Nicholas Mc Guire 1 participant 1 message Dec 2, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 additional external module symbol dependecy handling options

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

---
 Documentation/kbuild/modules.txt |   12 ++++++++++++
 1 file changed, 12 insertions(+)
Documentation/kbuild/modules.txt +12 -0
index 3fb39e0..450af1f 100644
@@ -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
 
Signature · 1 line
1.7.10.4