Ignore:
Timestamp:
10/04/2019 07:22:53 PM (5 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1
Children:
12e721d
Parents:
5e009ae
Message:

MultiLib: Merge changes from trunk

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11681 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/linux-headers.xml

    r5e009ae r91f763ae  
    5454
    5555    <para>Now extract the user-visible kernel headers from the source.
    56     They are placed in an intermediate local directory and copied to the needed
    57     location because the extraction process removes any existing files in
    58     the target directory.  There are also some hidden files used by
    59     the kernel developers and not needed by LFS that are removed from
    60     the intermediate directory.</para>
    61 
    62 <screen><userinput remap="make">make INSTALL_HDR_PATH=dest headers_install
    63 find dest/include \( -name .install -o -name ..install.cmd \) -delete
    64 </userinput><userinput remap="install">cp -rv dest/include/* /usr/include</userinput></screen>
     56    The recommended make target <quote>headers_install</quote> cannot be
     57    used, because it requires <application>rsync</application>, which is
     58    not available in <filename class="directory">/tools</filename>. The
     59    headers are first placed in <filename class="directory">./usr</filename>,
     60    then some files used by the kernel developers are removed, then
     61    the files are copied to their final location.</para>
     62
     63<screen><userinput remap="make">make headers
     64find usr/include -name '.*' -delete
     65rm usr/include/Makefile
     66</userinput><userinput remap="install">cp -rv usr/include/* /usr/include</userinput></screen>
    6567
    6668  </sect2>
Note: See TracChangeset for help on using the changeset viewer.