swift 11/12/13 20:30:54 Modified: hb-install-sparc-kernel.xml Log: Fix #392203 - Cross compiler prefix can now be set in the kernel configuration. Makes it a bit easier. Thanks to Nathan M for reporting!
Revision Changes Path 1.41 xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml?rev=1.41&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml?rev=1.41&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml?r1=1.40&r2=1.41 Index: hb-install-sparc-kernel.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- hb-install-sparc-kernel.xml 21 Jul 2010 01:43:22 -0000 1.40 +++ hb-install-sparc-kernel.xml 13 Dec 2011 20:30:54 -0000 1.41 @@ -4,12 +4,12 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml,v 1.40 2010/07/21 01:43:22 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml,v 1.41 2011/12/13 20:30:54 swift Exp $ --> <sections> -<version>10.1</version> -<date>2010-07-20</date> +<version>11</version> +<date>2011-12-13</date> <section> <title>Timezone</title> @@ -125,7 +125,19 @@ <body> <p> -First go to <c>File Systems</c> and select support for the filesystems you use. +First, we set up the proper cross compilation settings to make sure that the +Linux kernel is built for the correct system type. To do so, set the +<e>Cross-compiler tool prefix</e> to <c>sparc64-unknown-linux-gnu-</c> +(including the trailing dash): +</p> + +<pre caption="Identifying the proper cross compilation platform"> +General setup ---> + (<i>sparc64-unknown-linux-gnu-</i>) Cross-compiler tool prefix +</pre> + +<p> +Then go to <c>File Systems</c> and select support for the filesystems you use. <e>Don't</e> compile them as modules, otherwise your Gentoo system will not be able to mount your partitions. Also select <c>Virtual memory</c> and <c>/proc file system</c>: @@ -272,7 +284,7 @@ </p> <pre caption="Compiling the kernel"> -# <i>make CROSS_COMPILE=sparc64-unknown-linux-gnu- && make CROSS_COMPILE=sparc64-unknown-linux-gnu- image modules_install</i> +# <i>make && make modules_install</i> </pre> <p>
