aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--chapter10/kernel.xml57
-rw-r--r--packages.ent8
2 files changed, 37 insertions, 28 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>
diff --git a/packages.ent b/packages.ent
index af1620e5f..6722d2dbf 100644
--- a/packages.ent
+++ b/packages.ent
@@ -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">