source: clfs-embedded/BOOK/cross-tools/common/linux-headers.xml@ f1666f7

Last change on this file since f1666f7 was 19776da, checked in by Jim Gifford <clfs@…>, 16 years ago

Updated to Linux 2.6.28.5

  • Property mode set to 100644
File size: 2.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-cross-tools-linux-headers" role="wrap">
9 <?dbhtml filename="linux-headers.html"?>
10
11 <title>Linux-Headers-&linux-version;</title>
12
13 <indexterm zone="ch-cross-tools-linux-headers">
14 <primary sortas="a-Linux-Headers">Linux-Headers</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Linux Kernel contains a make target that installs
21 <quote>sanitized</quote> kernel headers.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Linux Headers</title>
27
28 <para os="a">For this step you will need the kernel tarball.</para>
29
30 <para os="b">Install the header files that are common to all architectures:</para>
31
32<screen os="c"><userinput>install -dv ${CLFS}/usr/include
33make mrproper
34make ARCH=${CLFS_ARCH} headers_check
35make ARCH=${CLFS_ARCH} INSTALL_HDR_PATH=dest headers_install
36cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
37
38 </sect2>
39
40 <sect2 id="contents-linux-headers" role="content">
41 <title>Contents of Linux-Headers</title>
42
43 <segmentedlist>
44 <segtitle>Installed headers</segtitle>
45
46 <seglistitem>
47 <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</seg>
48 </seglistitem>
49 </segmentedlist>
50
51 <variablelist>
52 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
53 <?dbfo list-presentation="list"?>
54 <?dbhtml list-presentation="table"?>
55
56 <varlistentry id="linux-headers">
57 <term><filename
58 class="headerfile">/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</filename></term>
59 <listitem>
60 <para>The Linux API headers</para>
61 <indexterm zone="ch-cross-tools-linux-headers linux-headers">
62 <primary
63 sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary>
64 </indexterm>
65 </listitem>
66 </varlistentry>
67
68 </variablelist>
69
70 </sect2>
71
72</sect1>
Note: See TracBrowser for help on using the repository browser.