Author: pierre Date: Sat Aug 29 00:17:20 2020 New Revision: 12039 Log: Update kernel figures + explain how to launch the menu interface before telling what to tick in the menu...
Modified: trunk/BOOK/chapter10/kernel.xml trunk/BOOK/packages.ent Modified: trunk/BOOK/chapter10/kernel.xml ============================================================================== --- trunk/BOOK/chapter10/kernel.xml Fri Aug 28 09:26:18 2020 (r12038) +++ trunk/BOOK/chapter10/kernel.xml Sat Aug 29 00:17:20 2020 (r12039) @@ -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 @@ -158,28 +189,6 @@ </listitem> </varlistentry> - </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 Modified: trunk/BOOK/packages.ent ============================================================================== --- trunk/BOOK/packages.ent Fri Aug 28 09:26:18 2020 (r12038) +++ trunk/BOOK/packages.ent Sat Aug 29 00:17:20 2020 (r12039) @@ -424,11 +424,11 @@ <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> <!ENTITY linux-md5 "2656fe1a0942856c8740468d175e39b6"> <!ENTITY linux-home "https://www.kernel.org/"> -<!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is +<!-- measured for 5.8.3 / gcc-10.2.0 on x86_64 : minimum is allnoconfig extended for a hopefully-bootable build on desktop machine, - max is allyesconfig which requires openssl --> -<!ENTITY linux-knl-du "960 - 4250 MB (typically about 1100 MB)"> -<!ENTITY linux-knl-sbu "4.4 - 66.0 SBU (typically about 6 SBU)"> + max is allmodconfig which requires openssl --> +<!ENTITY linux-knl-du "1200 - 6750 MB (typically about 1500 MB)"> +<!ENTITY linux-knl-sbu "5.0 - 125.0 SBU (typically about 9 SBU)"> <!ENTITY linux-headers-tmp-du "3.8 GB"> <!ENTITY linux-headers-tmp-sbu "0.2 SBU"> -- http://lists.linuxfromscratch.org/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page