B3 Compiling the Kernel with Kbuild

After the kernel has been configured, the sources must be compiled to generate the kernel image and to obtain the module binaries. The kernel uses GNU Make to do this. It employs a complex system of Makefiles to satisfy special requirements that arise when building kernels but not when building normal applications. Deep insight into the box of make tricks is needed to fully understand how this mechanism works, so this appendix doesn't go into detail but simply examines system use from the viewpoint of end users and kernel programmers (not from the viewpoint of Kbuild developers). Documentation/kbuild/makefiles.txt contains the detailed system documentation on which this section is partly based.

Continue reading here: B31 Using the Kbuild System

Was this article helpful?

0 0