# HG changeset patch
# User Rob Landley These are various upstream sources of documentation, many of which are linked
into the linux kernel documentation index.
+
@@ -74,6 +81,16 @@
with the command "make", and installed either manually or with the command
"make install".
+++tar xvjf linux-2.6.??.tar.bz2 +cd linux-2.6.?? +make menuconfig +make +make install ++
For a description of the make options and targets, type make help.
@@ -97,17 +114,74 @@ command "make distclean". - + + +Before you can build the kernel, you have to configure it. Configuring +selects which features this kernel build should include, and specifies other +technical information such as buffer sizes and optimization strategies. +This information is stored in a file named ".config" in the top level directory +of the kernel source code. To see the various user interfaces to the +configuration system, type "make help".
+ +Note that "make clean" does not delete configuration information, but the +more thorough "make distclean" does.
+ + + +Often when building a kernel, an existing .config file is supplied from +elsewhere. Copy it into place, and optionally run "make oldconfig" to run +the kernel's diagnostics against it to ensure it matches the kernel version +you're using, updating anything that's out of sync.
+ +Several preset configurations are shipped with the kernel source code. +Run the command find . -name "*_defconfig" in the kernel source +directory to seem them all. Any of these can be copied to .config and +used as a starting point.
-The Linux configuration system is called Kconfig. -The most common user interface for kconfig is menuconfig, an interactive terminal based menuing -interface invoked through the makefiles via "make menuconfig". A simpler text based -question and answer interface (which does not require curses support or a tty) is available as -"make config". Graphical interfaces are available as "make xconfig" (based on QT) -and "make gconfig" (based on GTK). For more information, see -make help
+The kernel can also automatically generate various configurations, +mostly to act as starting points for customization:
+The most common user interface for configuring the kernel is +menuconfig, an interactive terminal based menuing interface invoked +through the makefiles via "make menuconfig". This interface groups the +configuration questions into a series of menus, showing the current values +of each symbol and allowing them to be changed in any order. Each symbol +has associated help text, explaining what the symbol does and where to find +more information about it. This help text is +also available as html.
-The configuration interfaces present +
The menuconfig interface is controlled with the following keys:
+ +Other configuration interfaces (functionally equivalent to menuconfig) +include:
+The Linux configuration system is called Kconfig. The various +configuration front-ends (such as menuconfig) parse data files +written in the Kconfig language, +which define the available symbols and provide default values, help entries, +and so on.
+ +The source code for the front ends is in scripts/kconfig. The +Makefile in this directory defines the make targets for the configuration +system.
+ @@ -438,7 +522,8 @@ one, two, three, -four. +four, +five.