r5358 - branches/cross-lfs/BOOK/reboot/sparc64

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri May 13 15:39:21 PDT 2005


Author: jhuntwork
Date: 2005-05-13 16:39:20 -0600 (Fri, 13 May 2005)
New Revision: 5358

Modified:
   branches/cross-lfs/BOOK/reboot/sparc64/kernel.xml
Log:
Adjusted kernel instructions for sparc64 in reboot section

Modified: branches/cross-lfs/BOOK/reboot/sparc64/kernel.xml
===================================================================
--- branches/cross-lfs/BOOK/reboot/sparc64/kernel.xml	2005-05-13 20:59:53 UTC (rev 5357)
+++ branches/cross-lfs/BOOK/reboot/sparc64/kernel.xml	2005-05-13 22:39:20 UTC (rev 5358)
@@ -51,7 +51,7 @@
 
 <para>Configure the kernel via a menu-driven interface:</para>
 
-<screen><userinput>make menuconfig</userinput></screen>
+<screen><userinput>make ARCH=sparc64 CROSS_COMPILE=${LFS_TARGET}- menuconfig</userinput></screen>
 
 <para>Alternatively, <command>make oldconfig</command>
 may be more appropriate in some
@@ -92,7 +92,7 @@
 
 <para>Compile the kernel image and modules:</para>
 
-<screen><userinput>make</userinput></screen>
+<screen><userinput>make ARCH=sparc64 CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
 
 <para>If using kernel modules, an
 <filename>/etc/modprobe.conf</filename> file may be needed.
@@ -120,7 +120,8 @@
 
 <para>Install the modules, if the kernel configuration uses them:</para>
 
-<screen><userinput>make modules_install</userinput></screen>
+<screen><userinput>make INSTALL_MOD_PATH=${LFS} ARCH=sparc64 \
+   CROSS_COMPILE=${LFS_TARGET}- modules_install</userinput></screen>
 
 <para>If there are many modules and very little space, consider
 stripping and compressing the modules. For most users, such




More information about the lfs-book mailing list