Changeset 11462e6 in clfs-sysroot


Ignore:
Timestamp:
Jul 11, 2009, 6:21:38 PM (15 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
fef8487
Parents:
a7229a9
Message:

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

Location:
BOOK/cross-tools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/alpha/linux-headers.xml

    ra7229a9 r11462e6  
    3333make ARCH=alpha headers_check
    3434make ARCH=alpha INSTALL_HDR_PATH=dest headers_install
    35 cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
     35cp -rv dest/include/* ${CLFS}/usr/include
     36find ${CLFS}/usr/include -name .install -or -name ..install.cmd | xargs rm -fv</userinput></screen>
    3637
     38    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     39    href="../arm/linux-headers.xml"
     40    xpointer="xpointer(//*[@os='d'])"/>
    3741
    3842  </sect2>
  • BOOK/cross-tools/arm/linux-headers.xml

    ra7229a9 r11462e6  
    3333make ARCH=arm headers_check
    3434make ARCH=arm INSTALL_HDR_PATH=dest headers_install
    35 cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
     35cp -rv dest/include/* ${CLFS}/usr/include
     36find ${CLFS}/usr/include -name .install -or -name ..install.cmd | xargs rm -fv</userinput></screen>
     37
     38    <variablelist os="d">
     39      <title>The meaning of the make commands:</title>
     40
     41      <varlistentry os="d1">
     42        <term><parameter>make mrproper</parameter></term>
     43        <listitem>
     44          <para>Ensures that the kernel source dir is clean.</para>
     45        </listitem>
     46      </varlistentry>
     47
     48      <varlistentry os="d2">
     49        <term><parameter>make ARCH=<replaceable>[arch]</replaceable> headers_check</parameter></term>
     50        <listitem>
     51          <para>Sanitizes the raw kernel headers so that they can be used
     52          by userspace programs.</para>
     53        </listitem>
     54      </varlistentry>
     55
     56      <varlistentry os="d3">
     57        <term><parameter>make ARCH=<replaceable>[arch]</replaceable> INSTALL_HDR_PATH=dest headers_install</parameter></term>
     58        <listitem>
     59          <para>Normally the headers_install target removes the entire
     60          destination directory (default
     61          <filename class="directory">/usr/include</filename>) before
     62          installing the headers. To prevent this, we tell the kernel to
     63          install the headers to a directory inside the source dir.</para>
     64        </listitem>
     65      </varlistentry>
     66
     67    </variablelist>
    3668
    3769  </sect2>
  • BOOK/cross-tools/hppa/linux-headers.xml

    ra7229a9 r11462e6  
    3333make ARCH=parisc headers_check
    3434make ARCH=parisc INSTALL_HDR_PATH=dest headers_install
    35 cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
     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'])"/>
    3641
    3742  </sect2>
  • BOOK/cross-tools/x86/linux-headers.xml

    ra7229a9 r11462e6  
    3333make ARCH=x86 headers_check
    3434make ARCH=x86 INSTALL_HDR_PATH=dest headers_install
    35 cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
     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'])"/>
    3641
    3742  </sect2>
Note: See TracChangeset for help on using the changeset viewer.