[67300de] | 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-system-linux-headers" role="wrap">
|
---|
| 9 | <?dbhtml filename="linux-headers.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Linux-Headers-&linux-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-linux-headers">
|
---|
| 14 | <primary sortas="a-Linux-Headers">Linux-Headers</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
[ad7f2da] | 20 | <para>The Linux Kernel contains a make target that installs
|
---|
[67300de] | 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 tarballs.</para>
|
---|
| 29 |
|
---|
| 30 | <para os="b">Install the header files that are common to all architectures:</para>
|
---|
| 31 |
|
---|
| 32 | <screen os="c"><userinput>make mrproper
|
---|
| 33 | make headers_check
|
---|
| 34 | make INSTALL_HDR_PATH=dest headers_install
|
---|
| 35 | cp -rv dest/include/* /usr/include</userinput></screen>
|
---|
| 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>
|
---|
[c115ef0] | 46 | <seg>/usr/include/{asm,asm-generic,linux,mtd,rdma,scsi,sound,video}/*.h</seg>
|
---|
[67300de] | 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
|
---|
[c115ef0] | 57 | class="headerfile">/usr/include/{asm,asm-generic,linux,mtd,rdma,scsi,sound,video}/*.h</filename></term>
|
---|
[67300de] | 58 | <listitem>
|
---|
| 59 | <para>The Linux API headers</para>
|
---|
| 60 | <indexterm zone="ch-system-linux-headers linux-headers">
|
---|
| 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>
|
---|