diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:59:46 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:59:46 +0000 |
commit | 673b0d84ba9591e07c0bdf0ee49d92eba10f502c (patch) | |
tree | 129e27a1450727b440da4378e0117a468eb9c25e /chapter05/kernelheaders.xml | |
parent | 287ea55da70ceb1f0990554b7db921d525fef816 (diff) |
* Merged newxml into HEAD
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/kernelheaders.xml')
-rw-r--r-- | chapter05/kernelheaders.xml | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/chapter05/kernelheaders.xml b/chapter05/kernelheaders.xml deleted file mode 100644 index 48d4bfd1c..000000000 --- a/chapter05/kernelheaders.xml +++ /dev/null @@ -1,48 +0,0 @@ -<sect1 id="ch-tools-kernel-headers"> -<title>Installing Linux-&kernel-version; headers</title> -<?dbhtml filename="kernel-headers.html" dir="chapter05"?> - -<screen>&buildtime; &kernel-time-headers; -&diskspace; &kernel-compsize-headers;</screen> - -<sect2><title> </title><para> </para></sect2> - -<sect2> -<title>Installation of the kernel headers</title> - -<para>As some packages need to refer to the kernel header files, we're going -to unpack the kernel archive now, set it up, and copy the required files to a -place where <command>gcc</command> can later find them.</para> - -<para>Prepare for the header installation with:</para> - -<screen><userinput>make mrproper</userinput></screen> - -<para>This ensures that the kernel tree is absolutely clean. The kernel team -recommends that this command be issued prior to <emphasis>each</emphasis> -kernel compilation. You shouldn't rely on the source tree being clean after -untarring.</para> - -<para>Create the <filename>include/linux/version.h</filename> file:</para> - -<screen><userinput>make include/linux/version.h</userinput></screen> - -<para>Create the platform-specific <filename>include/asm</filename> -symlink:</para> - -<screen><userinput>make symlinks</userinput></screen> - -<para>Install the platform-specific header files:</para> - -<screen><userinput>mkdir /tools/include/asm -cp include/asm/* /tools/include/asm -cp -R include/asm-generic /tools/include</userinput></screen> - -<para>And finally install the cross-platform kernel header files:</para> - -<screen><userinput>cp -R include/linux /tools/include</userinput></screen> - -</sect2> - -</sect1> - |