aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/kernel-exp.xml
diff options
context:
space:
mode:
authorSimon Perreault <nomis80@videotron.ca>2001-05-11 03:00:48 +0000
committerSimon Perreault <nomis80@videotron.ca>2001-05-11 03:00:48 +0000
commitc4dfd49bf66fb47291e2fc54cfefcf3efb46bdc7 (patch)
tree47b1e97cd05412fe75914e4dd91d1c0e8b5360d9 /chapter05/kernel-exp.xml
parent3e444c644db022919daae7a487eec01ac0eb15a9 (diff)
Copy the kernel include dirs instead of linking to them.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@610 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/kernel-exp.xml')
-rw-r--r--chapter05/kernel-exp.xml15
1 files changed, 6 insertions, 9 deletions
diff --git a/chapter05/kernel-exp.xml b/chapter05/kernel-exp.xml
index 2155c481b..e2cfb91cb 100644
--- a/chapter05/kernel-exp.xml
+++ b/chapter05/kernel-exp.xml
@@ -27,15 +27,12 @@ needing later on.
</para>
<para>
-<userinput>ln -s ../src/linux/include/linux</userinput> and
-<userinput>ln -s ../src/linux/include/asm:</userinput> These
-commands create the linux and asm symlinks in the $LFS/usr/include
-directory that point to the proper directories in the Linux source tree.
-Packages that need kernel headers include them with lines like #include
-&lt;linux/errno.h&gt;. These paths are relative to the /usr/include
-directory so the /usr/include/linux link points to the directory
-containing the Linux kernel header files. The same goes for the asm
-symlink.
+<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)
+instead of copying them, please refer to the <filename>README</filename>
+file in the kernel source.
</para>
</sect2>