aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/kernel.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/kernel.xml')
-rw-r--r--chapter08/kernel.xml27
1 files changed, 23 insertions, 4 deletions
diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml
index 03ca3bd1b..ea7005308 100644
--- a/chapter08/kernel.xml
+++ b/chapter08/kernel.xml
@@ -55,7 +55,26 @@
packages outside of LFS at <ulink
url="&blfs-root;view/svn/longindex.html#kernel-config-index"/>:</para>
-<screen role="nodump"><userinput>make menuconfig</userinput></screen>
+<screen role="nodump"><userinput>make LANG=<replaceable>&lt;host_LANG_value&gt;</replaceable> LC_ALL= menuconfig</userinput></screen>
+
+ <variablelist>
+ <title>The meaning of the make parameters:</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 is needed for a proper menuconfig ncurses interface line
+ drawing on UTF-8 linux text console.</para>
+
+ <para>Be sure to replace <replaceable>&lt;host_LANG_value&gt;</replaceable>
+ by the value of the <envar>$LANG</envar> variable from your host.
+ If not set, you could use also 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>
@@ -143,9 +162,9 @@ cp -r Documentation/* /usr/share/doc/linux-&linux-version;</userinput></screen>
<para>The headers in the system's
<filename class="directory">include</filename> directory should
<emphasis>always</emphasis> be the ones against which Glibc was compiled,
- that is, the sanitised headers from the Linux kernel tarball.
- Therefore, should <emphasis>never</emphasis> be replaced by the raw kernel
- headers or if upgrading the kernel.</para>
+ that is, the sanitised headers from this Linux kernel tarball.
+ Therefore, thay should <emphasis>never</emphasis> be replaced by either
+ the raw kernel headers or any other kernel sanitized headers.</para>
</warning>
</sect2>