diff options
author | Marc Heerdink <gimli@linuxfromscratch.org> | 2002-01-30 17:42:21 +0000 |
---|---|---|
committer | Marc Heerdink <gimli@linuxfromscratch.org> | 2002-01-30 17:42:21 +0000 |
commit | e5835c115fb29bb9bd66695d7776ed2f7cd139df (patch) | |
tree | 84b07d07a0ed57440514ea26ab9531b3f435de62 /chapter05 | |
parent | 5d3dcef94acf83aacbff5e31d5e4d63350d4987d (diff) |
[Bug 270] Fixed the commands to install the kernel header files
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1516 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/kernel-exp.xml | 10 | ||||
-rw-r--r-- | chapter05/kernel-inst.xml | 5 |
2 files changed, 10 insertions, 5 deletions
diff --git a/chapter05/kernel-exp.xml b/chapter05/kernel-exp.xml index e52e73d60..497b454c0 100644 --- a/chapter05/kernel-exp.xml +++ b/chapter05/kernel-exp.xml @@ -23,9 +23,13 @@ checks, but what we do care about is that make dep creates those aforementioned files in <filename>include/linux</filename> we will be needing later on.</para> -<para><userinput>cp -HR include/asm $LFS/usr/include</userinput> -and <userinput>cp -HR include/linux $LFS/usr/include</userinput>: -These commands copy the required kernel header files to +<para><userinput>mkdir $LFS/usr/include/asm</userinput> +and <userinput>cp include/asm/* $LFS/usr/include/asm</userinput>: +This copies the platform-specific assembler kernel header files to +<filename>$LFS/usr/include/asm</filename>.</para> + +<para><userinput>cp -R include/linux $LFS/usr/include</userinput>: +This command copies the cross-platform kernel header files to <filename>$LFS/usr/include</filename>.</para> </sect2> diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml index fc4b0ab3b..9cd6d99d1 100644 --- a/chapter05/kernel-inst.xml +++ b/chapter05/kernel-inst.xml @@ -13,8 +13,9 @@ command:</para> <para><screen><userinput>make mrproper && yes "" | make config && make dep && -cp -HR include/asm $LFS/usr/include && -cp -HR include/linux $LFS/usr/include</userinput></screen></para> +mkdir $LFS/usr/include/asm && +cp include/asm/* $LFS/usr/include/asm && +cp -R include/linux $LFS/usr/include</userinput></screen></para> </sect2> |