Suggested you can use host distro's .config file when configuring

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1028 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2001-08-25 16:15:54 +00:00
parent 0cb331d204
commit 0106738407

View File

@ -7,8 +7,16 @@ Estimated required disk space: &kernel-compsize;</screen>
<para>Building the kernel involves a few steps: configuring it and compiling <para>Building the kernel involves a few steps: configuring it and compiling
it. There are a few ways to configure the kernel. If you don't like the it. There are a few ways to configure the kernel. If you don't like the
way this book does it, read the <filename>README</filename> that comes way this book does it, read the <filename>README</filename> that comes
with the kernel source tree, and find out what the options are. The with the kernel source tree, and find out what the options are.</para>
following commands are run to build the kernel:</para>
<para>Something you could do, is take the .config file from your host
distribution's kernel source tree and copy it to $LFS/usr/src/linux.
This way you don't have to configure the entire kernel from scratch and
can use your current values. If you choose to do this, first run the
make mrproper command below, then copy the .config file over, then run
make menuconfig.</para>
<para>The following commands are run to build the kernel:</para>
<para><screen><userinput>cd /usr/src/linux &amp;&amp;</userinput> <para><screen><userinput>cd /usr/src/linux &amp;&amp;</userinput>
<userinput>make mrproper &amp;&amp;</userinput> <userinput>make mrproper &amp;&amp;</userinput>