diff options
author | Simon Perreault <nomis80@videotron.ca> | 2001-05-11 03:00:48 +0000 |
---|---|---|
committer | Simon Perreault <nomis80@videotron.ca> | 2001-05-11 03:00:48 +0000 |
commit | c4dfd49bf66fb47291e2fc54cfefcf3efb46bdc7 (patch) | |
tree | 47b1e97cd05412fe75914e4dd91d1c0e8b5360d9 /chapter05/kernel-inst.xml | |
parent | 3e444c644db022919daae7a487eec01ac0eb15a9 (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-inst.xml')
-rw-r--r-- | chapter05/kernel-inst.xml | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml index d641edf92..3b51c15c4 100644 --- a/chapter05/kernel-inst.xml +++ b/chapter05/kernel-inst.xml @@ -18,26 +18,6 @@ The kernel configuration file is created by running the following command: <userinput>yes "" | make config &&</userinput> <userinput>make dep &&</userinput> <userinput>cd $LFS/usr/include &&</userinput> - <userinput>ln -s ../src/linux/include/linux &&</userinput> - <userinput>ln -s ../src/linux/include/asm</userinput> -</literallayout></blockquote> - -</sect2> - -<sect2> -<title>FHS compliance notes</title> - -<para> -According to the FHS, the /usr/include/linux and /usr/include/asm should be -actual directories, not symbolic links to the ones belonging to the current -kernel. The major advantage is that programs will compile with the headers glibc -was compiled with, and this may prevent some compiling hell. Until now, in all -of LFS' history, no compiling problem has been reported by using symlinks. So if -you're tight on space, we recommend using symlinks. But if you want to be FHS -compliant, replace the two last lines from the commands above with those: -</para> - -<blockquote><literallayout> <userinput>cp -r ../src/linux/include/linux . &&</userinput> <userinput>cp -r ../src/linux/include/asm .</userinput> </literallayout></blockquote> |