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-07-22 20:45:10 +01:00
|
|
|
<para><screen><userinput>make mrproper &&</userinput>
|
2001-07-06 16:25:48 +01:00
|
|
|
<userinput>yes "" | make config &&</userinput>
|
|
|
|
<userinput>make dep &&</userinput>
|
|
|
|
<userinput>cd $LFS/usr/include &&</userinput>
|
2001-08-23 23:38:49 +01:00
|
|
|
<userinput>cp -af ../src/linux/include/linux . &&</userinput>
|
2001-08-22 15:23:07 +01:00
|
|
|
<userinput>chown -R root.root $LFS/usr/include/linux &&</userinput>
|
2001-07-06 16:25:48 +01:00
|
|
|
<userinput>mkdir asm &&</userinput>
|
2001-08-23 23:38:49 +01:00
|
|
|
<userinput>cp -af ../src/linux/include/asm/* asm &&</userinput>
|
2001-08-22 15:23:07 +01:00
|
|
|
<userinput>chown -R root.root $LFS/usr/include/asm</userinput></screen></para>
|
2001-05-04 00:23:21 +01:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|