source: clfs-sysroot/BOOK/cross-tools/arm/linux-headers.xml@ cfaf68c

Last change on this file since cfaf68c was 3a8c95d, checked in by Joe Ciccone <jciccone@…>, 16 years ago

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

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