Ignore:
Timestamp:
Oct 16, 2007, 9:00:29 AM (17 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
7944221
Parents:
0e34e8b
Message:

Updated Linux to 2.6.23.1, removed linux-headers package

File:
1 moved

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/linux-headers.xml

    r0e34e8b r760721c  
    99  <?dbhtml filename="linux-headers.html"?>
    1010
    11   <title>Linux-Headers-&linux-headers-version;</title>
     11  <title>Linux-Headers-&linux-version;</title>
    1212
    1313  <indexterm zone="ch-system-linux-headers">
     
    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 tarballs.</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 /usr/include
    40 cp -av include/{asm-generic,linux,mtd,scsi,sound} /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 /usr/include/asm</userinput></screen>
     32<screen os="c"><userinput>make mrproper
     33make headers_check
     34make INSTALL_HDR_PATH=dest headers_install
     35cp -rv dest/include/* /usr/include</userinput></screen>
    4536
    4637  </sect2>
Note: See TracChangeset for help on using the changeset viewer.