diff options
Diffstat (limited to 'chapter10')
-rw-r--r-- | chapter10/kernel.xml | 57 |
1 files changed, 33 insertions, 24 deletions
diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index dc8f3ead8..4a4914764 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -54,10 +54,41 @@ kernel compilation. Do not rely on the source tree being clean after un-tarring.</para> + <para>There are several ways to configure the kernel options. Usually, + This is done through a menu-driven interface, for example:</para> + +<screen role="nodump"><userinput>make menuconfig</userinput></screen> + + <variablelist> + <title>The meaning of optional make environment variables:</title> + + <varlistentry> + <term><parameter>LANG=<host_LANG_value> LC_ALL=</parameter></term> + <listitem> + <para>This establishes the locale setting to the one used on the + host. This may be needed for a proper menuconfig ncurses interface + line drawing on a UTF-8 linux text console.</para> + + <para>If used, be sure to replace + <replaceable><host_LANG_value></replaceable> by the value of + the <envar>$LANG</envar> variable from your host. You can + alternatively use instead the host's value of <envar>$LC_ALL</envar> + or <envar>$LC_CTYPE</envar>.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><command>make menuconfig</command></term> + <listitem> + <para>This launches an ncurses menu-driven interface. For other + (graphical) interfaces, type <command>make help</command>.</para> + </listitem> + </varlistentry> + </variablelist> + <!-- Support for compiling a keymap into the kernel is deliberately removed --> - <para>Configure the kernel via a menu-driven interface. For general - information on kernel configuration see <ulink + <para>For general information on kernel configuration see <ulink url="&hints-root;kernel-configuration.txt"/>. BLFS has some information regarding particular kernel configuration requirements of packages outside of LFS at <ulink @@ -160,28 +191,6 @@ File systems ---> </variablelist> -<screen role="nodump"><userinput>make menuconfig</userinput></screen> - - <variablelist> - <title>The meaning of optional make environment variables:</title> - - <varlistentry> - <term><parameter>LANG=<host_LANG_value> LC_ALL=</parameter></term> - <listitem> - <para>This establishes the locale setting to the one used on the - host. This may be needed for a proper menuconfig ncurses interface - line drawing on a UTF-8 linux text console.</para> - - <para>If used, be sure to replace - <replaceable><host_LANG_value></replaceable> by the value of - the <envar>$LANG</envar> variable from your host. You can - alternatively use instead the host's value of <envar>$LC_ALL</envar> - or <envar>$LC_CTYPE</envar>.</para> - </listitem> - </varlistentry> - - </variablelist> - <para>Alternatively, <command>make oldconfig</command> may be more appropriate in some situations. See the <filename>README</filename> file for more information.</para> |