Changes between Version 15 and Version 16 of linux/kernel
- Timestamp:
- 07/29/2019 05:09:18 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
linux/kernel
v15 v16 267 267 [=#modules] 268 268 == Building external (out of tree) kernel modules 269 The Linux 'kbuild' system is used by the Linux kernel for kernel configuration. Linux kernel modules must use kbuild to stay compatible with the changes in the build infrastructure. A kernel module can be built stand-alone either 'in tree' (within the directory structure of the linux kernel) or 'out of tree' (aka 'external') meaning it exists in a directory of its own outside of the linux source tree. 269 The Linux 'kbuild' system is used by the Linux kernel for kernel configuration. Linux kernel modules must use kbuild to stay compatible with the changes in the build infrastructure. A kernel module can be built stand-alone either 'in tree' (within the directory structure of the linux kernel) or 'out of tree' (aka 'external') meaning it exists in a directory of its own outside of the linux source tree. **Kernel headers are not needed to build kernel modules, use the kernel source for this.** 270 270 271 271 An external module must always include a wrapper makefile that supports building the module using 'make' with no arguments. See [https://www.kernel.org/doc/Documentation/kbuild/modules.txt modules.txt] for details.