| [f097f3e] | 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" [ | 
|---|
| [f097f3e] | 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 |  | 
|---|
| [760721c] | 11 | <title>Linux-Headers-&linux-version;</title> | 
|---|
| [f097f3e] | 12 |  | 
|---|
|  | 13 | <indexterm zone="ch-cross-tools-linux-headers"> | 
|---|
|  | 14 | <primary sortas="a-Linux-Headers">Linux-Headers</primary> | 
|---|
|  | 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" | 
|---|
| [f097f3e] | 20 | xpointer="xpointer(//*[@role='package'])"/> | 
|---|
|  | 21 |  | 
|---|
|  | 22 | <sect2 role="installation"> | 
|---|
|  | 23 | <title>Installation of Linux-Headers</title> | 
|---|
|  | 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'])"/> | 
|---|
| [f097f3e] | 28 |  | 
|---|
| [dabbced] | 29 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" | 
|---|
| [760721c] | 30 | href="../../final-system/common/linux-headers.xml" | 
|---|
|  | 31 | xpointer="xpointer(//*[@os='b'])"/> | 
|---|
|  | 32 |  | 
|---|
| [76b06f6] | 33 | <screen os="c"><userinput>install -dv /tools/include | 
|---|
|  | 34 | make mrproper | 
|---|
| [760721c] | 35 | make ARCH=sparc64 headers_check | 
|---|
| [76b06f6] | 36 | make ARCH=sparc64 INSTALL_HDR_PATH=dest headers_install | 
|---|
|  | 37 | cp -rv dest/include/* /tools/include</userinput></screen> | 
|---|
| [f097f3e] | 38 |  | 
|---|
| [7a3ea39] | 39 | <variablelist os="d"> | 
|---|
|  | 40 | <title>The meaning of the make commands:</title> | 
|---|
|  | 41 |  | 
|---|
| [dabbced] | 42 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" | 
|---|
| [7a3ea39] | 43 | href="../../final-system/common/linux-headers.xml" | 
|---|
|  | 44 | xpointer="xpointer(//*[@os='d1'])"/> | 
|---|
|  | 45 |  | 
|---|
|  | 46 | <varlistentry os="d2"> | 
|---|
|  | 47 | <term><parameter>make ARCH=sparc64 headers_check</parameter></term> | 
|---|
|  | 48 | <listitem> | 
|---|
|  | 49 | <para>Sanitizes the raw kernel headers so that they can be used | 
|---|
|  | 50 | by userspace programs.</para> | 
|---|
|  | 51 | </listitem> | 
|---|
|  | 52 | </varlistentry> | 
|---|
|  | 53 |  | 
|---|
|  | 54 | <varlistentry os="d3"> | 
|---|
| [76b06f6] | 55 | <term><parameter>make ARCH=sparc64 INSTALL_HDR_PATH=dest headers_install</parameter></term> | 
|---|
| [7a3ea39] | 56 | <listitem> | 
|---|
| [76b06f6] | 57 | <para>Normally the headers_install target removes the entire | 
|---|
|  | 58 | destination directory (default | 
|---|
|  | 59 | <filename class="directory">/usr/include</filename>) before | 
|---|
|  | 60 | installing the headers. To prevent this, we tell the kernel to | 
|---|
|  | 61 | install the headers to a directory inside the source dir.</para> | 
|---|
| [7a3ea39] | 62 | </listitem> | 
|---|
|  | 63 | </varlistentry> | 
|---|
|  | 64 |  | 
|---|
|  | 65 | </variablelist> | 
|---|
|  | 66 |  | 
|---|
| [f097f3e] | 67 | </sect2> | 
|---|
|  | 68 |  | 
|---|
|  | 69 | <sect2 role="content"> | 
|---|
|  | 70 | <title/> | 
|---|
|  | 71 |  | 
|---|
|  | 72 | <para>Details on this package are located in <xref | 
|---|
|  | 73 | linkend="contents-linux-headers" role="."/></para> | 
|---|
|  | 74 |  | 
|---|
|  | 75 | </sect2> | 
|---|
|  | 76 |  | 
|---|
|  | 77 | </sect1> | 
|---|