Changeset 4b05af9 in clfs-embedded
- Timestamp:
- Jan 24, 2009, 10:41:03 AM (16 years ago)
- Branches:
- master
- Children:
- 35d6f00
- Parents:
- e1b2402
- Location:
- BOOK
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/arm/linux-headers.xml
re1b2402 r4b05af9 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> … … 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../x86/linux-headers.xml" 30 xpointer="xpointer(//*[@os='p1'])"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../x86/linux-headers.xml" 34 xpointer="xpointer(//*[@os='p2'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../x86/linux-headers.xml" 30 38 xpointer="xpointer(//*[@os='b'])"/> 31 39 32 40 <screen os="c"><userinput>install -dv ${CLFS}/usr/include 33 cp -av include/{asm-generic,linux,mtd,scsi,sound} ${CLFS}/usr/include</userinput></screen> 34 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 href="../x86/linux-headers.xml" 37 xpointer="xpointer(//*[@os='d'])"/> 38 39 <screen><userinput>cp -av include/asm-arm ${CLFS}/usr/include/asm</userinput></screen> 41 make mrproper 42 make ARCH=arm headers_check 43 make ARCH=arm INSTALL_HDR_PATH=dest headers_install 44 cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen> 40 45 41 46 </sect2> -
BOOK/cross-tools/mips/linux-headers.xml
re1b2402 r4b05af9 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> … … 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 29 href="../x86/linux-headers.xml" 30 xpointer="xpointer(//*[@os='p1'])"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../x86/linux-headers.xml" 34 xpointer="xpointer(//*[@os='p2'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../x86/linux-headers.xml" 30 38 xpointer="xpointer(//*[@os='b'])"/> 31 39 32 40 <screen os="c"><userinput>install -dv ${CLFS}/usr/include 33 cp -av include/{asm-generic,linux,mtd,scsi,sound} ${CLFS}/usr/include</userinput></screen> 34 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 href="../x86/linux-headers.xml" 37 xpointer="xpointer(//*[@os='d'])"/> 38 39 <screen><userinput>cp -av include/asm-mips ${CLFS}/usr/include/asm</userinput></screen> 41 make mrproper 42 make ARCH=mips headers_check 43 make ARCH=mips INSTALL_HDR_PATH=dest headers_install 44 cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen> 40 45 41 46 </sect2> -
BOOK/cross-tools/x86/linux-headers.xml
re1b2402 r4b05af9 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> 29 30 <para os="p1">The following patch contains a fix for a header that will prevent 31 kbd from compiling properly:</para> 32 33 <screen os="p2"><userinput>patch -Np1 -i ../&linux-serial-patch;</userinput></screen> 36 34 37 35 <para os="b">Install the header files that are common to all architectures:</para> 38 36 39 37 <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-i386 ${CLFS}/usr/include/asm</userinput></screen> 38 make mrproper 39 make ARCH=i386 headers_check 40 make ARCH=i386 INSTALL_HDR_PATH=dest headers_install 41 cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen> 45 42 46 43 </sect2> … … 53 50 54 51 <seglistitem> 55 <seg>/usr/include/{asm, linux}/*.h</seg>52 <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</seg> 56 53 </seglistitem> 57 54 </segmentedlist> … … 64 61 <varlistentry id="linux-headers"> 65 62 <term><filename 66 class="headerfile">/usr/include/{asm, linux}/*.h</filename></term>63 class="headerfile">/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</filename></term> 67 64 <listitem> 68 65 <para>The Linux API headers</para> 69 <indexterm zone="ch- system-linux-headers linux-headers">66 <indexterm zone="ch-cross-tools-linux-headers linux-headers"> 70 67 <primary 71 68 sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary> -
BOOK/materials/common/packages.xml
re1b2402 r4b05af9 79 79 80 80 <varlistentry> 81 <term>Linux-Headers (&linux-headers-version;) - <token>&linux-headers-size;</token>:</term>82 <listitem>83 <para>Home page: <ulink url="&linux-headers-home;"/></para>84 <para>Download: <ulink url="&linux-headers-url;"/></para>85 <para>MD5 sum: <literal>&linux-headers-md5;</literal></para>86 </listitem>87 </varlistentry>88 89 <varlistentry>90 81 <term>uClibc (&uclibc-version;) - <token>&uclibc-size;</token>:</term> 91 82 <listitem> -
BOOK/materials/common/patches.xml
re1b2402 r4b05af9 83 83 84 84 <varlistentry> 85 <term>Linux Serial Header Fix Patch - <token>&linux-serial-patch-size;</token>:</term> 86 <listitem> 87 <para>Download: <ulink 88 url="&patches-root;&linux-serial-patch;"/></para> 89 <para>MD5 sum: <literal>&linux-serial-patch-md5;</literal></para> 90 </listitem> 91 </varlistentry> 92 93 <varlistentry> 85 94 <term>MPFR Branch Update Patch - <token>&mpfr-branch_update-patch-size;</token>:</term> 86 95 <listitem> -
BOOK/packages.ent
re1b2402 r4b05af9 49 49 <!ENTITY linux-dl-version "2.6"> 50 50 51 <!ENTITY linux-version "2.6.2 0.1">52 <!ENTITY linux-size " 42,529KB">51 <!ENTITY linux-version "2.6.28.1"> 52 <!ENTITY linux-size "51,516 KB"> 53 53 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-dl-version;/linux-&linux-version;.tar.bz2"> 54 <!ENTITY linux-md5 " 3288ad6c10ba89e85041a8416bd9644d">54 <!ENTITY linux-md5 "5298ae8dcbb32202a16c328a046a7df4"> 55 55 <!ENTITY linux-home "http://www.kernel.org"> 56 57 <!ENTITY linux-headers-version "&linux-version;-02252007">58 <!ENTITY linux-headers-size "1,626 KB">59 <!ENTITY linux-headers-url "&packages-root;linux-headers-&linux-headers-version;.tar.bz2">60 <!ENTITY linux-headers-md5 "91871367451dfe36926f860887657db9">61 <!ENTITY linux-headers-home "http://headers.cross-lfs.org">62 56 63 57 <!ENTITY mpfr-version "2.3.2"> -
BOOK/patches.ent
re1b2402 r4b05af9 32 32 <!ENTITY gmp-branch_update-patch-md5 "31606a19116f646a2d891d639fbfc339"> 33 33 <!ENTITY gmp-branch_update-patch-size "12 KB"> 34 35 <!ENTITY linux-serial-patch "linux-&linux-version;-serial_h_fix-1.patch"> 36 <!ENTITY linux-serial-patch-md5 "aa82ce2ee0cd5ab270359a0a2ed89cde"> 37 <!ENTITY linux-serial-patch-size "4 KB"> 34 38 35 39 <!ENTITY mpfr-branch_update-patch "mpfr-&mpfr-version;-branch_update-1.patch">
Note:
See TracChangeset
for help on using the changeset viewer.