[Clfs-commits] commit: r4295 - in /branches/clfs-sysroot/BOOK: cross-tools/alpha/linux-headers.xml cross-tools/arm/linux-headers.xml cross-tools/hppa/linux-headers.xml cross-tools/x86/linux-headers.xml introduction/common/changelog.xml
svn at cross-lfs.org
svn at cross-lfs.org
Sat Jan 3 14:15:33 PST 2009
Author: jciccone
Date: Sat Jan 3 22:15:32 2009
New Revision: 4295
Log:
Convert from the old depreciated kernel headers tarball to the ones included with the linux kernel.
Modified:
branches/clfs-sysroot/BOOK/cross-tools/alpha/linux-headers.xml
branches/clfs-sysroot/BOOK/cross-tools/arm/linux-headers.xml
branches/clfs-sysroot/BOOK/cross-tools/hppa/linux-headers.xml
branches/clfs-sysroot/BOOK/cross-tools/x86/linux-headers.xml
branches/clfs-sysroot/BOOK/introduction/common/changelog.xml
Modified: branches/clfs-sysroot/BOOK/cross-tools/alpha/linux-headers.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/cross-tools/alpha/linux-headers.xml (original)
+++ branches/clfs-sysroot/BOOK/cross-tools/alpha/linux-headers.xml Sat Jan 3 22:15:32 2009
@@ -5,12 +5,12 @@
%general-entities;
]>
-<sect1 id="ch-system-linux-headers" role="wrap">
+<sect1 id="ch-cross-tools-linux-headers" role="wrap">
<?dbhtml filename="linux-headers.html"?>
<title>Linux-Headers-&linux-headers-version;</title>
- <indexterm zone="ch-system-linux-headers">
+ <indexterm zone="ch-cross-tools-linux-headers">
<primary sortas="a-Linux-Headers">Linux-Headers</primary>
</indexterm>
@@ -29,15 +29,11 @@
href="../arm/linux-headers.xml"
xpointer="xpointer(//*[@os='b'])"/>
- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
- href="../arm/linux-headers.xml"
- xpointer="xpointer(//*[@os='c'])"/>
+<screen os="c"><userinput>make mrproper
+make ARCH=alpha headers_check
+make ARCH=alpha INSTALL_HDR_PATH=dest headers_install
+cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
- href="../arm/linux-headers.xml"
- xpointer="xpointer(//*[@os='d'])"/>
-
-<screen><userinput>cp -av include/asm-alpha ${CLFS}/usr/include/asm</userinput></screen>
</sect2>
Modified: branches/clfs-sysroot/BOOK/cross-tools/arm/linux-headers.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/cross-tools/arm/linux-headers.xml (original)
+++ branches/clfs-sysroot/BOOK/cross-tools/arm/linux-headers.xml Sat Jan 3 22:15:32 2009
@@ -5,19 +5,19 @@
%general-entities;
]>
-<sect1 id="ch-system-linux-headers" role="wrap">
+<sect1 id="ch-cross-tools-linux-headers" role="wrap">
<?dbhtml filename="linux-headers.html"?>
- <title>Linux-Headers-&linux-headers-version;</title>
+ <title>Linux-Headers-&linux-version;</title>
- <indexterm zone="ch-system-linux-headers">
+ <indexterm zone="ch-cross-tools-linux-headers">
<primary sortas="a-Linux-Headers">Linux-Headers</primary>
</indexterm>
<sect2 role="package">
<title/>
- <para>The Linux Headers package contains the
+ <para>The Linux Kernel contains a make target that installs
<quote>sanitized</quote> kernel headers.</para>
</sect2>
@@ -25,23 +25,14 @@
<sect2 role="installation">
<title>Installation of Linux-Headers</title>
- <para os="a">For years it has been common practice to use
- <quote>raw</quote> kernel headers (straight from a kernel tarball) in
- <filename class="directory">/usr/include</filename>, but over the last few
- years, the kernel developers have taken a strong stance that this
- should not be done. This gave birth to the Linux-Libc-Headers Project,
- which was designed to maintain an API stable version of the Linux
- headers. Recently this project stopped producing updates, so the Cross-LFS
- team started development on our own project to sanitize the headers.</para>
+ <para os="a">For this step you will need the kernel tarball.</para>
<para os="b">Install the header files that are common to all architectures:</para>
-<screen os="c"><userinput>install -dv ${CLFS}/usr/include
-cp -av include/{asm-generic,linux,mtd,scsi,sound} ${CLFS}/usr/include</userinput></screen>
-
- <para os="d">Install the header files that are specific to this architecture:</para>
-
-<screen><userinput>cp -av include/asm-arm ${CLFS}/usr/include/asm</userinput></screen>
+<screen os="c"><userinput>make mrproper
+make ARCH=arm headers_check
+make ARCH=arm INSTALL_HDR_PATH=dest headers_install
+cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
</sect2>
@@ -52,7 +43,7 @@
<segtitle>Installed headers</segtitle>
<seglistitem>
- <seg>/usr/include/{asm,linux}/*.h</seg>
+ <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</seg>
</seglistitem>
</segmentedlist>
@@ -63,10 +54,10 @@
<varlistentry id="linux-headers">
<term><filename
- class="headerfile">/usr/include/{asm,linux}/*.h</filename></term>
+ class="headerfile">/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</filename></term>
<listitem>
<para>The Linux API headers</para>
- <indexterm zone="ch-system-linux-headers linux-headers">
+ <indexterm zone="ch-cross-tools-linux-headers linux-headers">
<primary
sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary>
</indexterm>
Modified: branches/clfs-sysroot/BOOK/cross-tools/hppa/linux-headers.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/cross-tools/hppa/linux-headers.xml (original)
+++ branches/clfs-sysroot/BOOK/cross-tools/hppa/linux-headers.xml Sat Jan 3 22:15:32 2009
@@ -5,12 +5,12 @@
%general-entities;
]>
-<sect1 id="ch-system-linux-headers" role="wrap">
+<sect1 id="ch-cross-tools-linux-headers" role="wrap">
<?dbhtml filename="linux-headers.html"?>
<title>Linux-Headers-&linux-headers-version;</title>
- <indexterm zone="ch-system-linux-headers">
+ <indexterm zone="ch-cross-tools-linux-headers">
<primary sortas="a-Linux-Headers">Linux-Headers</primary>
</indexterm>
@@ -29,15 +29,10 @@
href="../arm/linux-headers.xml"
xpointer="xpointer(//*[@os='b'])"/>
- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
- href="../arm/linux-headers.xml"
- xpointer="xpointer(//*[@os='c'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
- href="../arm/linux-headers.xml"
- xpointer="xpointer(//*[@os='d'])"/>
-
-<screen><userinput>cp -av include/asm-parisc ${CLFS}/usr/include/asm</userinput></screen>
+<screen os="c"><userinput>make mrproper
+make ARCH=parisc headers_check
+make ARCH=parisc INSTALL_HDR_PATH=dest headers_install
+cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
</sect2>
Modified: branches/clfs-sysroot/BOOK/cross-tools/x86/linux-headers.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/cross-tools/x86/linux-headers.xml (original)
+++ branches/clfs-sysroot/BOOK/cross-tools/x86/linux-headers.xml Sat Jan 3 22:15:32 2009
@@ -5,12 +5,12 @@
%general-entities;
]>
-<sect1 id="ch-system-linux-headers" role="wrap">
+<sect1 id="ch-cross-tools-linux-headers" role="wrap">
<?dbhtml filename="linux-headers.html"?>
<title>Linux-Headers-&linux-headers-version;</title>
- <indexterm zone="ch-system-linux-headers">
+ <indexterm zone="ch-cross-tools-linux-headers">
<primary sortas="a-Linux-Headers">Linux-Headers</primary>
</indexterm>
@@ -29,15 +29,10 @@
href="../arm/linux-headers.xml"
xpointer="xpointer(//*[@os='b'])"/>
- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
- href="../arm/linux-headers.xml"
- xpointer="xpointer(//*[@os='c'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
- href="../arm/linux-headers.xml"
- xpointer="xpointer(//*[@os='d'])"/>
-
-<screen><userinput>cp -av include/asm-i386 ${CLFS}/usr/include/asm</userinput></screen>
+<screen os="c"><userinput>make mrproper
+make ARCH=x86 headers_check
+make ARCH=x86 INSTALL_HDR_PATH=dest headers_install
+cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
</sect2>
Modified: branches/clfs-sysroot/BOOK/introduction/common/changelog.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/introduction/common/changelog.xml (original)
+++ branches/clfs-sysroot/BOOK/introduction/common/changelog.xml Sat Jan 3 22:15:32 2009
@@ -39,6 +39,10 @@
<listitem>
<para>Janurary 03, 2009</para>
<itemizedlist>
+ <listitem>
+ <para>[jciccone] - Convert from the old depreciated kernel headers
+ tarball to the headers included with the kernel.</para>
+ </listitem>
<listitem>
<para>[jciccone] - Update Patches.</para>
</listitem>
More information about the Clfs-commits
mailing list