aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter05/kernel-exp.xml8
-rw-r--r--chapter05/kernel-inst.xml3
2 files changed, 6 insertions, 5 deletions
diff --git a/chapter05/kernel-exp.xml b/chapter05/kernel-exp.xml
index e2fd20581..a5dc8550a 100644
--- a/chapter05/kernel-exp.xml
+++ b/chapter05/kernel-exp.xml
@@ -28,10 +28,10 @@ needing later on.
<para>
<userinput>cp -R ../src/linux/include/linux .</userinput> and
-<userinput>cp -R ../src/linux/include/asm .</userinput>: These
-commands copy the kernel headers in the <filename>$LFS/usr/include</filename>
-directory. For details on why we don't link to these directories
-(anymore), and instead copy them, please refer to the
+<userinput>mkdir asm &amp;&amp; cp -a ../src/linux/include/asm/* .</userinput>:
+These commands copy the kernel headers in the
+<filename>$LFS/usr/include</filename> directory. For details on why we don't
+link to these directories (anymore), and instead copy them, please refer to the
<filename>README</filename> file in the kernel source.
</para>
diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml
index f15a4bc5c..45e8f9471 100644
--- a/chapter05/kernel-inst.xml
+++ b/chapter05/kernel-inst.xml
@@ -19,7 +19,8 @@ The kernel configuration file is created by running the following command:
<userinput>make dep &amp;&amp;</userinput>
<userinput>cd $LFS/usr/include &amp;&amp;</userinput>
<userinput>cp -R ../src/linux/include/linux . &amp;&amp;</userinput>
- <userinput>cp -R ../src/linux/include/asm .</userinput>
+ <userinput>mkdir asm &amp;&amp;</userinput>
+ <userinput>cp -a ../src/linux/include/asm/* asm</userinput>
</literallayout></blockquote>
</sect2>