2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
2001-06-15 23:48:17 +01:00
|
|
|
<title>Installation of the Linux Kernel</title>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>We won't be compiling a new kernel image yet. We'll do that after we
|
2001-01-24 00:31:17 +00:00
|
|
|
have finished the installation of the basic system software in this
|
2001-06-15 23:48:17 +01:00
|
|
|
chapter. But because certain software needs the kernel header files, we're
|
2001-01-24 00:31:17 +00:00
|
|
|
going to unpack the kernel archive now and set it up so that we can
|
2001-07-22 20:45:10 +01:00
|
|
|
compile the packages that need the kernel.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>The kernel configuration file is created by running the following
|
|
|
|
command:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-10-27 23:21:44 +01:00
|
|
|
<para><screen><userinput>make mrproper &&
|
|
|
|
yes "" | make config &&
|
|
|
|
make dep &&
|
2002-01-30 17:42:21 +00:00
|
|
|
mkdir $LFS/usr/include/asm &&
|
|
|
|
cp include/asm/* $LFS/usr/include/asm &&
|
|
|
|
cp -R include/linux $LFS/usr/include</userinput></screen></para>
|
2001-05-04 00:23:21 +01:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|