source: clfs-sysroot/BOOK/cross-tools/x86/linux-headers.xml@ ec52d10

Last change on this file since ec52d10 was 11462e6, checked in by Joe Ciccone <jciccone@…>, 15 years ago

Add command explanations to linux-headers as well as a command to clean up what's installed.

  • Property mode set to 100644
File size: 1.5 KB
Line 
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 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../arm/linux-headers.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of Linux Headers</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
25 href="../arm/linux-headers.xml"
26 xpointer="xpointer(//*[@os='a'])"/>
27
28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
29 href="../arm/linux-headers.xml"
30 xpointer="xpointer(//*[@os='b'])"/>
31
32<screen os="c"><userinput>make mrproper
33make ARCH=x86 headers_check
34make ARCH=x86 INSTALL_HDR_PATH=dest headers_install
35cp -rv dest/include/* ${CLFS}/usr/include
36find ${CLFS}/usr/include -name .install -or -name ..install.cmd | xargs rm -fv</userinput></screen>
37
38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../arm/linux-headers.xml"
40 xpointer="xpointer(//*[@os='d'])"/>
41
42 </sect2>
43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="../arm/linux-headers.xml"
46 xpointer="xpointer(id('contents-linux-headers'))"/>
47
48</sect1>
49
Note: See TracBrowser for help on using the repository browser.