From f5eb738df4963c9ff03bfab2c629fc1387f222e6 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Wed, 25 Sep 2019 12:32:25 +0000 Subject: 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 --- chapter05/linux-headers.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'chapter05') 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 @@ make mrproper 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. - -make INSTALL_HDR_PATH=dest headers_install -cp -rv dest/include/* /tools/include + The recommended make target headers_install cannot be + used, because it requires rsync, which may not + be available. The headers are first placed in + ./usr, then copied to the needed + location. + +make headers +cp -rv usr/include/* /tools/include -- cgit v1.2.3-54-g00ecf