[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[f097f3e] | 8 | <sect1 id="ch-system-linux-headers" role="wrap">
|
---|
| 9 | <?dbhtml filename="linux-headers.html"?>
|
---|
[3f8be484] | 10 |
|
---|
[760721c] | 11 | <title>Linux-Headers-&linux-version;</title>
|
---|
[3f8be484] | 12 |
|
---|
[f097f3e] | 13 | <indexterm zone="ch-system-linux-headers">
|
---|
| 14 | <primary sortas="a-Linux-Headers">Linux-Headers</primary>
|
---|
[3f8be484] | 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
[37a0da5] | 20 | <para>The Linux Kernel contains a make target that installs
|
---|
[3f8be484] | 21 | <quote>sanitized</quote> kernel headers.</para>
|
---|
| 22 |
|
---|
| 23 | </sect2>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="installation">
|
---|
[f097f3e] | 26 | <title>Installation of Linux-Headers</title>
|
---|
[3f8be484] | 27 |
|
---|
[f6c1ef8] | 28 | <para os="p1">The following patch contains a fix for a header that will prevent
|
---|
| 29 | kbd from compiling properly:</para>
|
---|
| 30 |
|
---|
| 31 | <screen os="p2"><userinput>patch -Np1 -i ../&linux-serial-patch;</userinput></screen>
|
---|
| 32 |
|
---|
[a1c119a] | 33 | <para os="a">For this step you will need the kernel tarball.</para>
|
---|
[3f8be484] | 34 |
|
---|
[91f60dc] | 35 | <para os="b">Install the header files that are common to all architectures:</para>
|
---|
[3f8be484] | 36 |
|
---|
[760721c] | 37 | <screen os="c"><userinput>make mrproper
|
---|
| 38 | make headers_check
|
---|
| 39 | make INSTALL_HDR_PATH=dest headers_install
|
---|
| 40 | cp -rv dest/include/* /usr/include</userinput></screen>
|
---|
[91f60dc] | 41 |
|
---|
[3f8be484] | 42 | </sect2>
|
---|
| 43 |
|
---|
[f097f3e] | 44 | <sect2 id="contents-linux-headers" role="content">
|
---|
| 45 | <title>Contents of Linux-Headers</title>
|
---|
[3f8be484] | 46 |
|
---|
| 47 | <segmentedlist>
|
---|
| 48 | <segtitle>Installed headers</segtitle>
|
---|
| 49 |
|
---|
| 50 | <seglistitem>
|
---|
[d31ff94] | 51 | <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</seg>
|
---|
[3f8be484] | 52 | </seglistitem>
|
---|
| 53 | </segmentedlist>
|
---|
| 54 |
|
---|
| 55 | <variablelist>
|
---|
| 56 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 57 | <?dbfo list-presentation="list"?>
|
---|
| 58 | <?dbhtml list-presentation="table"?>
|
---|
| 59 |
|
---|
[f097f3e] | 60 | <varlistentry id="linux-headers">
|
---|
[3f8be484] | 61 | <term><filename
|
---|
[d31ff94] | 62 | class="headerfile">/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</filename></term>
|
---|
[3f8be484] | 63 | <listitem>
|
---|
| 64 | <para>The Linux API headers</para>
|
---|
[f097f3e] | 65 | <indexterm zone="ch-system-linux-headers linux-headers">
|
---|
[3f8be484] | 66 | <primary
|
---|
| 67 | sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary>
|
---|
| 68 | </indexterm>
|
---|
| 69 | </listitem>
|
---|
| 70 | </varlistentry>
|
---|
| 71 |
|
---|
| 72 | </variablelist>
|
---|
| 73 |
|
---|
| 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | </sect1>
|
---|