Changeset 760721c for BOOK/final-system/common/linux-headers.xml
- Timestamp:
- Oct 16, 2007, 9:00:29 AM (17 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 7944221
- Parents:
- 0e34e8b
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/linux-headers.xml
r0e34e8b r760721c 9 9 <?dbhtml filename="linux-headers.html"?> 10 10 11 <title>Linux-Headers-&linux- headers-version;</title>11 <title>Linux-Headers-&linux-version;</title> 12 12 13 13 <indexterm zone="ch-system-linux-headers"> … … 26 26 <title>Installation of Linux-Headers</title> 27 27 28 <para os="a">For years it has been common practice to use 29 <quote>raw</quote> kernel headers (straight from a kernel tarball) in 30 <filename class="directory">/usr/include</filename>, but over the last few 31 years, the kernel developers have taken a strong stance that this 32 should not be done. This gave birth to the Linux-Libc-Headers Project, 33 which was designed to maintain an API stable version of the Linux 34 headers. Recently this project stopped producing updates, so the Cross-LFS 35 team started development on our own project to sanitize the headers.</para> 28 <para os="a">For this step you will need the kernel tarballs.</para> 36 29 37 30 <para os="b">Install the header files that are common to all architectures:</para> 38 31 39 <screen os="c"><userinput>install -dv /usr/include 40 cp -av include/{asm-generic,linux,mtd,scsi,sound} /usr/include/</userinput></screen> 41 42 <para os="d">Install the header files that are specific to this architecture:</para> 43 44 <screen><userinput>cp -av include/asm-i386 /usr/include/asm</userinput></screen> 32 <screen os="c"><userinput>make mrproper 33 make headers_check 34 make INSTALL_HDR_PATH=dest headers_install 35 cp -rv dest/include/* /usr/include</userinput></screen> 45 36 46 37 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.