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/final-system/common/linux-headers.xml

    rb512295 r7a3ea39  
    3535cp -rv dest/include/* /usr/include</userinput></screen>
    3636
     37    <variablelist os="d">
     38      <title>The meaning of the make commands:</title>
     39
     40      <varlistentry os="d1">
     41        <term><parameter>make mrproper</parameter></term>
     42        <listitem>
     43          <para>Ensures that the kernel source dir is clean.</para>
     44        </listitem>
     45      </varlistentry>
     46
     47      <varlistentry os="d2">
     48        <term><parameter>make headers_check</parameter></term>
     49        <listitem>
     50          <para>Sanitizes the raw kernel headers so that they can be used
     51          by userspace programs.</para>
     52        </listitem>
     53      </varlistentry>
     54
     55      <varlistentry os="d3">
     56        <term><parameter>make INSTALL_HDR_PATH=dest headers_install</parameter></term>
     57        <listitem>
     58          <para>Normally the headers_install target removes the entire
     59          destination directory (default
     60          <filename class="directory">/usr/include</filename>) before
     61          installing the headers. To prevent this, we tell the kernel to
     62          install the headers to a directory inside the source dir.</para>
     63        </listitem>
     64      </varlistentry>
     65
     66    </variablelist>
     67
    3768  </sect2>
    3869
Note: See TracChangeset for help on using the changeset viewer.