Changeset 3a8c95d in clfs-sysroot


Ignore:
Timestamp:
Jan 3, 2009, 2:15:32 PM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
1caa15b
Parents:
90e4737
Message:

Convert from the old depreciated kernel headers tarball to the ones included with the linux kernel.

Location:
BOOK
Files:
5 edited

Legend:

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

    r90e4737 r3a8c95d  
    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
    1111  <title>Linux-Headers-&linux-headers-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>
     
    3030    xpointer="xpointer(//*[@os='b'])"/>
    3131
    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
     33make ARCH=alpha headers_check
     34make ARCH=alpha INSTALL_HDR_PATH=dest headers_install
     35cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
    3536
    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>
    4137
    4238  </sect2>
  • BOOK/cross-tools/arm/linux-headers.xml

    r90e4737 r3a8c95d  
    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>
    3629
    3730    <para os="b">Install the header files that are common to all architectures:</para>
    3831
    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
     33make ARCH=arm headers_check
     34make ARCH=arm INSTALL_HDR_PATH=dest headers_install
     35cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
    4536
    4637  </sect2>
     
    5344
    5445      <seglistitem>
    55         <seg>/usr/include/{asm,linux}/*.h</seg>
     46        <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</seg>
    5647      </seglistitem>
    5748    </segmentedlist>
     
    6455      <varlistentry id="linux-headers">
    6556        <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>
    6758        <listitem>
    6859          <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">
    7061            <primary
    7162            sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary>
  • BOOK/cross-tools/hppa/linux-headers.xml

    r90e4737 r3a8c95d  
    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
    1111  <title>Linux-Headers-&linux-headers-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>
     
    3030    xpointer="xpointer(//*[@os='b'])"/>
    3131
    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
     33make ARCH=parisc headers_check
     34make ARCH=parisc INSTALL_HDR_PATH=dest headers_install
     35cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
    4136
    4237  </sect2>
  • BOOK/cross-tools/x86/linux-headers.xml

    r90e4737 r3a8c95d  
    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
    1111  <title>Linux-Headers-&linux-headers-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>
     
    3030    xpointer="xpointer(//*[@os='b'])"/>
    3131
    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
     33make ARCH=x86 headers_check
     34make ARCH=x86 INSTALL_HDR_PATH=dest headers_install
     35cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
    4136
    4237  </sect2>
  • BOOK/introduction/common/changelog.xml

    r90e4737 r3a8c95d  
    4040      <para>Janurary 03, 2009</para>
    4141      <itemizedlist>
     42        <listitem>
     43          <para>[jciccone] - Convert from the old depreciated kernel headers
     44          tarball to the headers included with the kernel.</para>
     45        </listitem>
    4246        <listitem>
    4347          <para>[jciccone] - Update Patches.</para>
Note: See TracChangeset for help on using the changeset viewer.