kernel/Documentation/kbuild/modules.txt
7.2 Symbols and external modules
When building an external module, the build system needs access to the symbols from the kernel to check if all external symbols are defined. This is done in the MODPOST step and to obtain all symbols, modpost reads Module.symvers from the kernel.
If a Module.symvers file is present in the directory where the external module is being built, this file will be read too.
During the MODPOST step, a new Module.symvers file will be written containing all exported symbols that were not defined in the kernel.
No comments:
Post a Comment