mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-20 14:07:39 +00:00
1987d724ce
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
25 lines
862 B
XML
25 lines
862 B
XML
<sect2>
|
|
<title>Installation of the Linux Kernel</title>
|
|
|
|
<para>We won't be compiling a new kernel image yet. We'll do that after we
|
|
have finished the installation of the basic system software in this
|
|
chapter. But because certain software needs the kernel header files, we're
|
|
going to unpack the kernel archive now and set it up so that we can
|
|
compile the packages that need the kernel.</para>
|
|
|
|
<para>The kernel configuration file is created by running the following
|
|
command:</para>
|
|
|
|
<para><screen><userinput>ln -s /static/bin/pwd /bin/pwd &&
|
|
make mrproper &&
|
|
make include/linux/version.h &&
|
|
make symlinks &&
|
|
mkdir /usr/include/asm &&
|
|
cp include/asm/* /usr/include/asm &&
|
|
cp -R include/linux /usr/include &&
|
|
touch /usr/include/linux/autoconf.h &&
|
|
rm /bin/pwd</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|