ARCH=powerpc

Mike Frysinger vapier@gentoo.org
Sat Apr 8 16:34:00 GMT 2006


On Friday 07 April 2006 17:35, James Lemke wrote:
> I've found it necessary when using crosstool for powerpc-823-linux to
> make the kernel with ARCH=powerpc (vs ARCH=ppc).  Comments?

this applies to linux-2.6.15+ only as starting with that version, ppc and 
ppc64 have been unified into just powerpc ... anything older still needs to 
use ppc/ppc64

so the code should read something like:
powerpc*)
	if kernel_version >= 2.6.15 ; then
		echo powerpc
	else
		case $host in
			powerpc64*) echo ppc64;;
			powerpc*) echo ppc;;
		esac
	fi
;;
-mike

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list