[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-cross-tools-linux-headers" role="wrap">
|
---|
| 9 | <?dbhtml filename="linux-headers.html"?>
|
---|
[3f8be484] | 10 |
|
---|
[be1c363] | 11 | <title>Linux-&linux-version2; Headers</title>
|
---|
[3f8be484] | 12 |
|
---|
[f097f3e] | 13 | <indexterm zone="ch-cross-tools-linux-headers">
|
---|
[be1c363] | 14 | <primary sortas="a-Linux Headers">Linux Headers</primary>
|
---|
[3f8be484] | 15 | <secondary>cross tools</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
[dabbced] | 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[760721c] | 19 | href="../../final-system/common/linux-headers.xml"
|
---|
[cf66ceae] | 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
[be1c363] | 23 | <title>Installation of Linux Headers</title>
|
---|
[3f8be484] | 24 |
|
---|
[dabbced] | 25 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[760721c] | 26 | href="../../final-system/common/linux-headers.xml"
|
---|
[91f60dc] | 27 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
[3f8be484] | 28 |
|
---|
[e92e63a] | 29 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 30 | href="../../bootable/x86/kernel.xml"
|
---|
| 31 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 32 |
|
---|
| 33 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 34 | href="../../bootable/x86/kernel.xml"
|
---|
| 35 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
| 36 |
|
---|
[dabbced] | 37 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[760721c] | 38 | href="../../final-system/common/linux-headers.xml"
|
---|
| 39 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 40 |
|
---|
[8c30aa4] | 41 | <screen os="c"><userinput>make mrproper
|
---|
[760721c] | 42 | make ARCH=x86_64 headers_check
|
---|
[8c30aa4] | 43 | make ARCH=x86_64 INSTALL_HDR_PATH=/tools headers_install</userinput></screen>
|
---|
[3f8be484] | 44 |
|
---|
[7a3ea39] | 45 | <variablelist os="d">
|
---|
| 46 | <title>The meaning of the make commands:</title>
|
---|
| 47 |
|
---|
[dabbced] | 48 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7a3ea39] | 49 | href="../../final-system/common/linux-headers.xml"
|
---|
| 50 | xpointer="xpointer(//*[@os='d1'])"/>
|
---|
| 51 |
|
---|
| 52 | <varlistentry os="d2">
|
---|
| 53 | <term><parameter>make ARCH=x86_64 headers_check</parameter></term>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Sanitizes the raw kernel headers so that they can be used
|
---|
| 56 | by userspace programs.</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </varlistentry>
|
---|
| 59 |
|
---|
| 60 | <varlistentry os="d3">
|
---|
[8c30aa4] | 61 | <term><parameter>make ARCH=x86_64 INSTALL_HDR_PATH=/tools headers_install</parameter></term>
|
---|
[7a3ea39] | 62 | <listitem>
|
---|
[8c30aa4] | 63 | <para>This will install the kernel headers into
|
---|
| 64 | <filename class="directory">/tools/include</filename>.</para>
|
---|
[7a3ea39] | 65 | </listitem>
|
---|
| 66 | </varlistentry>
|
---|
| 67 |
|
---|
| 68 | </variablelist>
|
---|
| 69 |
|
---|
[3f8be484] | 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2 role="content">
|
---|
| 73 | <title/>
|
---|
| 74 |
|
---|
| 75 | <para>Details on this package are located in <xref
|
---|
[f097f3e] | 76 | linkend="contents-linux-headers" role="."/></para>
|
---|
[3f8be484] | 77 |
|
---|
| 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | </sect1>
|
---|