aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10/kernel.xml
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-08-29 07:17:20 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-08-29 07:17:20 +0000
commiteab5b72b28d8503d78644f0e1e14369d3c30872c (patch)
tree577fa403f1a663eaa76d44d7ff38787a73a49ea9 /chapter10/kernel.xml
parent4567d8bb9dfd2333edb8bee036481080e77808f2 (diff)
Update kernel figures + explain
how to launch the menu interface before telling what to tick in the menu... git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12039 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter10/kernel.xml')
-rw-r--r--chapter10/kernel.xml57
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=&lt;host_LANG_value&gt; 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>&lt;host_LANG_value&gt;</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 ---&gt;
</variablelist>
-<screen role="nodump"><userinput>make menuconfig</userinput></screen>
-
- <variablelist>
- <title>The meaning of optional make environment variables:</title>
-
- <varlistentry>
- <term><parameter>LANG=&lt;host_LANG_value&gt; 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>&lt;host_LANG_value&gt;</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>