lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 2 Dec 2014 10:18:36 +0100
From:	Nicholas Mc Guire <der.herr@...r.at>
To:	Randy Dunlap <rdunlap@...radead.org>
Cc:	Michal Marek <mmarek@...e.cz>, Joe Perches <joe@...ches.com>,
	LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] 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

Signed-off-by: Nicholas Mc Guire <der.herr@...r.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ