aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/linux-libc-headers.xml
diff options
context:
space:
mode:
authorKen Moffat <ken@linuxfromscratch.org>2005-12-31 18:20:17 +0000
committerKen Moffat <ken@linuxfromscratch.org>2005-12-31 18:20:17 +0000
commitdec63ea3d96bb7f9f23075273005db162b366202 (patch)
treeb4e2724cb770d8a6533de8003ed1fd9736efcbf0 /chapter06/linux-libc-headers.xml
parentb82f0c040e0cf68a0f38fe8aaca6894eb2d6e87b (diff)
Make install of asm headers repeatable (for reruns, or ICA), instead of creating a spurious asm/asm-i386 directory when repeated.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7239 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/linux-libc-headers.xml')
-rw-r--r--chapter06/linux-libc-headers.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter06/linux-libc-headers.xml b/chapter06/linux-libc-headers.xml
index 4d5344cc3..31f3aa78f 100644
--- a/chapter06/linux-libc-headers.xml
+++ b/chapter06/linux-libc-headers.xml
@@ -41,7 +41,8 @@ headers.</para>
<para>Install the header files:</para>
-<screen><userinput>cp -Rv include/asm-i386 /usr/include/asm
+<screen><userinput>install -d /usr/include/asm
+cp -Rv include/asm-i386/* /usr/include/asm
cp -Rv include/linux /usr/include</userinput></screen>
<para>Ensure that all the headers are owned by root:</para>