Changeset 4b05af9 in clfs-embedded


Ignore:
Timestamp:
Jan 24, 2009, 10:41:03 AM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
35d6f00
Parents:
e1b2402
Message:

Updated Linux and Linux Headers

Location:
BOOK
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/arm/linux-headers.xml

    re1b2402 r4b05af9  
    66]>
    77
    8 <sect1 id="ch-system-linux-headers" role="wrap">
     8<sect1 id="ch-cross-tools-linux-headers" role="wrap">
    99  <?dbhtml filename="linux-headers.html"?>
    1010
    11   <title>Linux-Headers-&linux-headers-version;</title>
     11  <title>Linux-Headers-&linux-version;</title>
    1212
    13   <indexterm zone="ch-system-linux-headers">
     13  <indexterm zone="ch-cross-tools-linux-headers">
    1414    <primary sortas="a-Linux-Headers">Linux-Headers</primary>
    1515  </indexterm>
     
    2828  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2929  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"
    3038  xpointer="xpointer(//*[@os='b'])"/>
    3139
    3240<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>
     41make mrproper
     42make ARCH=arm headers_check
     43make ARCH=arm INSTALL_HDR_PATH=dest headers_install
     44cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
    4045
    4146  </sect2>
  • BOOK/cross-tools/mips/linux-headers.xml

    re1b2402 r4b05af9  
    66]>
    77
    8 <sect1 id="ch-system-linux-headers" role="wrap">
     8<sect1 id="ch-cross-tools-linux-headers" role="wrap">
    99  <?dbhtml filename="linux-headers.html"?>
    1010
    11   <title>Linux-Headers-&linux-headers-version;</title>
     11  <title>Linux-Headers-&linux-version;</title>
    1212
    13   <indexterm zone="ch-system-linux-headers">
     13  <indexterm zone="ch-cross-tools-linux-headers">
    1414    <primary sortas="a-Linux-Headers">Linux-Headers</primary>
    1515  </indexterm>
     
    2828  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2929  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"
    3038  xpointer="xpointer(//*[@os='b'])"/>
    3139
    3240<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>
     41make mrproper
     42make ARCH=mips headers_check
     43make ARCH=mips INSTALL_HDR_PATH=dest headers_install
     44cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
    4045
    4146  </sect2>
  • BOOK/cross-tools/x86/linux-headers.xml

    re1b2402 r4b05af9  
    66]>
    77
    8 <sect1 id="ch-system-linux-headers" role="wrap">
     8<sect1 id="ch-cross-tools-linux-headers" role="wrap">
    99  <?dbhtml filename="linux-headers.html"?>
    1010
    11   <title>Linux-Headers-&linux-headers-version;</title>
     11  <title>Linux-Headers-&linux-version;</title>
    1212
    13   <indexterm zone="ch-system-linux-headers">
     13  <indexterm zone="ch-cross-tools-linux-headers">
    1414    <primary sortas="a-Linux-Headers">Linux-Headers</primary>
    1515  </indexterm>
     
    1818    <title/>
    1919
    20     <para>The Linux Headers package contains the
     20    <para>The Linux Kernel contains a make target that installs
    2121    <quote>sanitized</quote> kernel headers.</para>
    2222
     
    2626    <title>Installation of Linux Headers</title>
    2727
    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>
    3634
    3735    <para os="b">Install the header files that are common to all architectures:</para>
    3836
    3937<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>
     38make mrproper
     39make ARCH=i386 headers_check
     40make ARCH=i386 INSTALL_HDR_PATH=dest headers_install
     41cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
    4542
    4643  </sect2>
     
    5350
    5451      <seglistitem>
    55         <seg>/usr/include/{asm,linux}/*.h</seg>
     52        <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</seg>
    5653      </seglistitem>
    5754    </segmentedlist>
     
    6461      <varlistentry id="linux-headers">
    6562        <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>
    6764        <listitem>
    6865          <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">
    7067            <primary
    7168            sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary>
  • BOOK/materials/common/packages.xml

    re1b2402 r4b05af9  
    7979
    8080    <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>
    9081      <term>uClibc (&uclibc-version;) - <token>&uclibc-size;</token>:</term>
    9182      <listitem>
  • BOOK/materials/common/patches.xml

    re1b2402 r4b05af9  
    8383
    8484    <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>
    8594      <term>MPFR Branch Update Patch - <token>&mpfr-branch_update-patch-size;</token>:</term>
    8695      <listitem>
  • BOOK/packages.ent

    re1b2402 r4b05af9  
    4949<!ENTITY linux-dl-version "2.6">
    5050
    51 <!ENTITY linux-version "2.6.20.1">
    52 <!ENTITY linux-size "42,529 KB">
     51<!ENTITY linux-version "2.6.28.1">
     52<!ENTITY linux-size "51,516 KB">
    5353<!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">
    5555<!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">
    6256
    6357<!ENTITY mpfr-version "2.3.2">
  • BOOK/patches.ent

    re1b2402 r4b05af9  
    3232<!ENTITY gmp-branch_update-patch-md5 "31606a19116f646a2d891d639fbfc339">
    3333<!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">
    3438
    3539<!ENTITY mpfr-branch_update-patch "mpfr-&mpfr-version;-branch_update-1.patch">
Note: See TracChangeset for help on using the changeset viewer.