diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2019-09-25 12:32:25 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2019-09-25 12:32:25 +0000 |
commit | f5eb738df4963c9ff03bfab2c629fc1387f222e6 (patch) | |
tree | 447aeca0962531554614cd779b8104d681ff2e21 /chapter05/linux-headers.xml | |
parent | 2e836feb0bf935c2e4625d195743ab9b8c833fb8 (diff) |
Linux-5.3.1, and fix the instructions for installing headers
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11676 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/linux-headers.xml')
-rw-r--r-- | chapter05/linux-headers.xml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/chapter05/linux-headers.xml b/chapter05/linux-headers.xml index b5f134ee3..7a92b466f 100644 --- a/chapter05/linux-headers.xml +++ b/chapter05/linux-headers.xml @@ -53,12 +53,14 @@ <screen><userinput remap="pre">make mrproper</userinput></screen> <para>Now extract the user-visible kernel headers from the source. - They are placed in an intermediate local directory and copied to the needed - location because the extraction process removes any existing files in - the target directory.</para> - -<screen><userinput remap="make">make INSTALL_HDR_PATH=dest headers_install -</userinput><userinput remap="install">cp -rv dest/include/* /tools/include</userinput></screen> + The recommended make target <quote>headers_install</quote> cannot be + used, because it requires <application>rsync</application>, which may not + be available. The headers are first placed in + <filename class="directory">./usr</filename>, then copied to the needed + location.</para> + +<screen><userinput remap="make">make headers +</userinput><userinput remap="install">cp -rv usr/include/* /tools/include</userinput></screen> </sect2> |