aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2006-11-25 00:13:01 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2006-11-25 00:13:01 +0000
commit3f25fa44de1817041a9ade5fa3aab6c8f4ef8132 (patch)
tree1b667373341617d768eeb49ece348a065dcf52f5 /chapter05
parentac3fb3e9f40b43a9c9728864176c7613fb85badd (diff)
Simplified the installation of Linux Headers in Chapter 5.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7855 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/linux-headers.xml7
1 files changed, 2 insertions, 5 deletions
diff --git a/chapter05/linux-headers.xml b/chapter05/linux-headers.xml
index 9396208c9..3c068bf77 100644
--- a/chapter05/linux-headers.xml
+++ b/chapter05/linux-headers.xml
@@ -49,12 +49,9 @@
<para>Install the header files:</para>
-<screen><userinput>mkdir /tools/tmp
-make mrproper
+<screen><userinput>make mrproper
make headers_check
-make INSTALL_HDR_PATH=/tools/tmp headers_install
-cp -R /tools/tmp/include/* /tools/include
-rm -r /tools/tmp</userinput></screen>
+cp -av usr/include/* /tools/include</userinput></screen>
</sect2>