Changeset 33bc2cb in clfs-embedded for BOOK/cross-tools/mips/linux-headers.xml


Ignore:
Timestamp:
Nov 11, 2006, 8:28:14 PM (17 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
02ef21b
Parents:
99fc891
Message:

Streamlined, and updates to some MIPS specific checks

File:
1 edited

Legend:

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

    r99fc891 r33bc2cb  
    1515  </indexterm>
    1616
    17   <sect2 role="package">
    18     <title/>
    19 
    20     <para>The Linux Headers package contains the
    21     <quote>sanitized</quote> kernel headers.</para>
    22 
    23   </sect2>
     17  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     18  href="../x86/linux-headers.xml"
     19  xpointer="xpointer(//*[@role='package'])"/>
    2420
    2521  <sect2 role="installation">
    2622    <title>Installation of Linux Headers</title>
    2723
    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>
     24  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     25  href="../x86/linux-headers.xml"
     26  xpointer="xpointer(//*[@os='a'])"/>
    3627
    37     <para os="b">Install the header files that are common to all architectures:</para>
     28  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29  href="../x86/linux-headers.xml"
     30  xpointer="xpointer(//*[@os='b'])"/>
    3831
    3932<screen os="c"><userinput>install -dv ${CLFS}/usr/include
    4033cp -av include/{asm-generic,linux,mtd,scsi,sound} ${CLFS}/usr/include</userinput></screen>
    4134
    42     <para os="d">Install the header files that are specific to this architecture:</para>
     35  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     36  href="../x86/linux-headers.xml"
     37  xpointer="xpointer(//*[@os='d'])"/>
    4338
    4439<screen><userinput>cp -av include/asm-mips ${CLFS}/usr/include/asm</userinput></screen>
     
    4641  </sect2>
    4742
    48   <sect2 id="contents-linux-headers" role="content">
    49     <title>Contents of Linux-Headers</title>
    50 
    51     <segmentedlist>
    52       <segtitle>Installed headers</segtitle>
    53 
    54       <seglistitem>
    55         <seg>/usr/include/{asm,linux}/*.h</seg>
    56       </seglistitem>
    57     </segmentedlist>
    58 
    59     <variablelist>
    60       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    61       <?dbfo list-presentation="list"?>
    62       <?dbhtml list-presentation="table"?>
    63 
    64       <varlistentry id="linux-headers">
    65         <term><filename
    66         class="headerfile">/usr/include/{asm,linux}/*.h</filename></term>
    67         <listitem>
    68           <para>The Linux API headers</para>
    69           <indexterm zone="ch-system-linux-headers linux-headers">
    70             <primary
    71             sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary>
    72           </indexterm>
    73         </listitem>
    74       </varlistentry>
    75 
    76     </variablelist>
    77 
    78   </sect2>
     43  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     44  href="../x86/linux-headers.xml"
     45  xpointer="xpointer(//*[@role='content'])"/>
    7946
    8047</sect1>
     48
     49
Note: See TracChangeset for help on using the changeset viewer.