Ignore:
Timestamp:
Apr 16, 2009, 9:15:03 AM (16 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
76c3486
Parents:
b512295
Message:

Added command explanation to Linux-Headers pages

File:
1 edited

Legend:

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

    rb512295 r7a3ea39  
    3737cp -rv dest/include/* /tools/include</userinput></screen>
    3838
     39    <variablelist os="d">
     40      <title>The meaning of the make commands:</title>
     41
     42    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     43    href="../../final-system/common/linux-headers.xml"
     44    xpointer="xpointer(//*[@os='d1'])"/>
     45
     46      <varlistentry os="d2">
     47        <term><parameter>make ARCH=x86_64 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">
     55        <term><parameter>make ARCH=x86_64 INSTALL_HDR_PATH=dest headers_install</parameter></term>
     56        <listitem>
     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>
     62        </listitem>
     63      </varlistentry>
     64
     65    </variablelist>
     66
    3967  </sect2>
    4068
Note: See TracChangeset for help on using the changeset viewer.