Changeset 3a8c95d in clfs-sysroot for BOOK/cross-tools
- Timestamp:
- Jan 3, 2009, 2:15:32 PM (16 years ago)
- Branches:
- master
- Children:
- 1caa15b
- Parents:
- 90e4737
- Location:
- BOOK/cross-tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/alpha/linux-headers.xml
r90e4737 r3a8c95d 6 6 ]> 7 7 8 <sect1 id="ch- system-linux-headers" role="wrap">8 <sect1 id="ch-cross-tools-linux-headers" role="wrap"> 9 9 <?dbhtml filename="linux-headers.html"?> 10 10 11 11 <title>Linux-Headers-&linux-headers-version;</title> 12 12 13 <indexterm zone="ch- system-linux-headers">13 <indexterm zone="ch-cross-tools-linux-headers"> 14 14 <primary sortas="a-Linux-Headers">Linux-Headers</primary> 15 15 </indexterm> … … 30 30 xpointer="xpointer(//*[@os='b'])"/> 31 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../arm/linux-headers.xml" 34 xpointer="xpointer(//*[@os='c'])"/> 32 <screen os="c"><userinput>make mrproper 33 make ARCH=alpha headers_check 34 make ARCH=alpha INSTALL_HDR_PATH=dest headers_install 35 cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen> 35 36 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"37 href="../arm/linux-headers.xml"38 xpointer="xpointer(//*[@os='d'])"/>39 40 <screen><userinput>cp -av include/asm-alpha ${CLFS}/usr/include/asm</userinput></screen>41 37 42 38 </sect2> -
BOOK/cross-tools/arm/linux-headers.xml
r90e4737 r3a8c95d 6 6 ]> 7 7 8 <sect1 id="ch- system-linux-headers" role="wrap">8 <sect1 id="ch-cross-tools-linux-headers" role="wrap"> 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 <indexterm zone="ch- system-linux-headers">13 <indexterm zone="ch-cross-tools-linux-headers"> 14 14 <primary sortas="a-Linux-Headers">Linux-Headers</primary> 15 15 </indexterm> … … 18 18 <title/> 19 19 20 <para>The Linux Headers package contains the20 <para>The Linux Kernel contains a make target that installs 21 21 <quote>sanitized</quote> kernel headers.</para> 22 22 … … 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 tarball.</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 ${CLFS}/usr/include 40 cp -av include/{asm-generic,linux,mtd,scsi,sound} ${CLFS}/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-arm ${CLFS}/usr/include/asm</userinput></screen> 32 <screen os="c"><userinput>make mrproper 33 make ARCH=arm headers_check 34 make ARCH=arm INSTALL_HDR_PATH=dest headers_install 35 cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen> 45 36 46 37 </sect2> … … 53 44 54 45 <seglistitem> 55 <seg>/usr/include/{asm, linux}/*.h</seg>46 <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</seg> 56 47 </seglistitem> 57 48 </segmentedlist> … … 64 55 <varlistentry id="linux-headers"> 65 56 <term><filename 66 class="headerfile">/usr/include/{asm, linux}/*.h</filename></term>57 class="headerfile">/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</filename></term> 67 58 <listitem> 68 59 <para>The Linux API headers</para> 69 <indexterm zone="ch- system-linux-headers linux-headers">60 <indexterm zone="ch-cross-tools-linux-headers linux-headers"> 70 61 <primary 71 62 sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary> -
BOOK/cross-tools/hppa/linux-headers.xml
r90e4737 r3a8c95d 6 6 ]> 7 7 8 <sect1 id="ch- system-linux-headers" role="wrap">8 <sect1 id="ch-cross-tools-linux-headers" role="wrap"> 9 9 <?dbhtml filename="linux-headers.html"?> 10 10 11 11 <title>Linux-Headers-&linux-headers-version;</title> 12 12 13 <indexterm zone="ch- system-linux-headers">13 <indexterm zone="ch-cross-tools-linux-headers"> 14 14 <primary sortas="a-Linux-Headers">Linux-Headers</primary> 15 15 </indexterm> … … 30 30 xpointer="xpointer(//*[@os='b'])"/> 31 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../arm/linux-headers.xml" 34 xpointer="xpointer(//*[@os='c'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../arm/linux-headers.xml" 38 xpointer="xpointer(//*[@os='d'])"/> 39 40 <screen><userinput>cp -av include/asm-parisc ${CLFS}/usr/include/asm</userinput></screen> 32 <screen os="c"><userinput>make mrproper 33 make ARCH=parisc headers_check 34 make ARCH=parisc INSTALL_HDR_PATH=dest headers_install 35 cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen> 41 36 42 37 </sect2> -
BOOK/cross-tools/x86/linux-headers.xml
r90e4737 r3a8c95d 6 6 ]> 7 7 8 <sect1 id="ch- system-linux-headers" role="wrap">8 <sect1 id="ch-cross-tools-linux-headers" role="wrap"> 9 9 <?dbhtml filename="linux-headers.html"?> 10 10 11 11 <title>Linux-Headers-&linux-headers-version;</title> 12 12 13 <indexterm zone="ch- system-linux-headers">13 <indexterm zone="ch-cross-tools-linux-headers"> 14 14 <primary sortas="a-Linux-Headers">Linux-Headers</primary> 15 15 </indexterm> … … 30 30 xpointer="xpointer(//*[@os='b'])"/> 31 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../arm/linux-headers.xml" 34 xpointer="xpointer(//*[@os='c'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../arm/linux-headers.xml" 38 xpointer="xpointer(//*[@os='d'])"/> 39 40 <screen><userinput>cp -av include/asm-i386 ${CLFS}/usr/include/asm</userinput></screen> 32 <screen os="c"><userinput>make mrproper 33 make ARCH=x86 headers_check 34 make ARCH=x86 INSTALL_HDR_PATH=dest headers_install 35 cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen> 41 36 42 37 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.