Chapter 10. Kernel Build Command-Line Reference


As discussed in Chapter 4, the tool that ties together kernel builds is the make program, to which you pass a target that specifies what you want to build. Chapter 4 went over the basic targets needed to build the kernel properly, but the kernel build system also has a wide range of other targets. This chapter details these targets, and what they can be used for.

All of these targets are passed to the make program on the command line, and a number of them can be grouped together if desired. For example:

 $ make mrproper xconfig 

The targets are broken down into different types in the following sections.

You can get a summary of most of these targets by running, within the build directory:

 $ make help 

This target prints out a lot of the common make targets that are described in the rest of this chapter.



Linux Kernel in a Nutshell
Linux Kernel in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596100795
EAN: 2147483647
Year: 2004
Pages: 113

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net