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