Author: robert
Date: 2011-02-27 12:03:40 -0700 (Sun, 27 Feb 2011)
New Revision: 1622

Modified:
   trunk/BOOK/chapter08/kernel.xml
Log:
Fix kernel compiling options.

Modified: trunk/BOOK/chapter08/kernel.xml
===================================================================
--- trunk/BOOK/chapter08/kernel.xml     2011-02-27 16:50:09 UTC (rev 1621)
+++ trunk/BOOK/chapter08/kernel.xml     2011-02-27 19:03:40 UTC (rev 1622)
@@ -102,10 +102,8 @@
 
     <para>Compile the kernel image and modules:</para>
 
-<screen><userinput remap="make">make 
LDFLAGS_BUILD_ID="--build-id"</userinput></screen>
+<screen><userinput remap="make">make CC="gcc -fno-PIE 
-no-fatal-warnings"</userinput></screen>
 
-    <para>FIXME: Why doesn't --build-id get detected properly?</para>
-
     <para>If using kernel modules, module configuration in <filename
     class="directory">/etc/modprobe.d</filename> may be required.
     Information pertaining to modules and kernel configuration is
@@ -128,7 +126,7 @@
     the automatic setup of the boot process described in the next section.  The
     following command assumes an x86 architecture:</para>
 
-<screen><userinput remap="install">cp -v arch/x86/boot/bzImage 
/boot/vmlinux-&linux-version;-lfs-&version;</userinput></screen>
+<screen><userinput remap="install">cp -v arch/x86/boot/bzImage 
/boot/vmlinux-&linux-version;-hlfs-&version;</userinput></screen>
 
     <para><filename>System.map</filename> is a symbol file for the kernel.
     It maps the function entry points of every function in the kernel API,

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-book
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to