Changes between Version 15 and Version 16 of linux/kernel


Ignore:
Timestamp:
07/29/2019 05:09:18 PM (3 months ago)
Author:
Cale Collins
Comment:

kernel headers are not needed to build kernel modules.

Legend:

Unmodified
Added
Removed
Modified
  • linux/kernel

    v15 v16  
    267267[=#modules]
    268268== 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.
     269The 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.** 
    270270
    271271An 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.