Skip to content

Commit 9504bbe

Browse files
committed
kbuild: doc: remove documentation about copying Module.symvers around
This is a left-over of commit 39808e4 ("kbuild: do not read $(KBUILD_EXTMOD)/Module.symvers"). Kbuild no longer supports this way. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
1 parent 8451791 commit 9504bbe

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

‎Documentation/kbuild/modules.rst‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -528,18 +528,6 @@ build.
528528
will then do the expected and compile both modules with
529529
full knowledge of symbols from either module.
530530

531-
Use an extra Module.symvers file
532-
When an external module is built, a Module.symvers file
533-
is generated containing all exported symbols which are
534-
not defined in the kernel. To get access to symbols
535-
from bar.ko, copy the Module.symvers file from the
536-
compilation of bar.ko to the directory where foo.ko is
537-
built. During the module build, kbuild will read the
538-
Module.symvers file in the directory of the external
539-
module, and when the build is finished, a new
540-
Module.symvers file is created containing the sum of
541-
all symbols defined and not part of the kernel.
542-
543531
Use "make" variable KBUILD_EXTRA_SYMBOLS
544532
If it is impractical to add a top-level kbuild file,
545533
you can assign a space separated list

0 commit comments

Comments
 (0)