mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 19:59:20 +01:00
[Bug 270] Fixed the commands to install the kernel header files
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1516 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
5d3dcef94a
commit
e5835c115f
@ -24,6 +24,10 @@
|
||||
|
||||
<itemizedlist>
|
||||
|
||||
<listitem><para>January 30th, 2002 [marcheerdink]: Chapters 5: Changed
|
||||
the commands to copy the header files to support versions of cp older
|
||||
than 4.1.</para></listitem>
|
||||
|
||||
<listitem><para>January 30th, 2002 [markh]: Chapters 5+6: Added
|
||||
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" to the configure command for patch.
|
||||
This fixes compilation on PPC and m68k platforms and doesn't hurt on
|
||||
|
@ -23,9 +23,13 @@ checks, but what we do care about is that make dep creates those
|
||||
aforementioned files in <filename>include/linux</filename> we will be
|
||||
needing later on.</para>
|
||||
|
||||
<para><userinput>cp -HR include/asm $LFS/usr/include</userinput>
|
||||
and <userinput>cp -HR include/linux $LFS/usr/include</userinput>:
|
||||
These commands copy the required kernel header files to
|
||||
<para><userinput>mkdir $LFS/usr/include/asm</userinput>
|
||||
and <userinput>cp include/asm/* $LFS/usr/include/asm</userinput>:
|
||||
This copies the platform-specific assembler kernel header files to
|
||||
<filename>$LFS/usr/include/asm</filename>.</para>
|
||||
|
||||
<para><userinput>cp -R include/linux $LFS/usr/include</userinput>:
|
||||
This command copies the cross-platform kernel header files to
|
||||
<filename>$LFS/usr/include</filename>.</para>
|
||||
|
||||
</sect2>
|
||||
|
@ -13,8 +13,9 @@ command:</para>
|
||||
<para><screen><userinput>make mrproper &&
|
||||
yes "" | make config &&
|
||||
make dep &&
|
||||
cp -HR include/asm $LFS/usr/include &&
|
||||
cp -HR include/linux $LFS/usr/include</userinput></screen></para>
|
||||
mkdir $LFS/usr/include/asm &&
|
||||
cp include/asm/* $LFS/usr/include/asm &&
|
||||
cp -R include/linux $LFS/usr/include</userinput></screen></para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user