[PATCH] get CROSS32 from environment

Dave Hansen haveblue at us.ibm.com
Sat Feb 7 06:37:45 EST 2004


I'm doing some x86->ppc64 cross compiles.  The top-level CROSS_COMPILE
comes out of the environment just fine, but the 32-bit compiler is just
set up to be empty.  This patch gets it out of the environment, if
present.

--dave
-------------- next part --------------
--- linux-2.6.1-clean/arch/ppc64/boot/Makefile	2004-01-08 22:59:56.000000000 -0800
+++ linux-2.6.1-memhotplug/arch/ppc64/boot/Makefile	2004-02-04 15:02:17.000000000 -0800
@@ -20,7 +20,7 @@
 #	CROSS32_COMPILE is setup as a prefix just like CROSS_COMPILE
 #	in the toplevel makefile.

-CROSS32_COMPILE =
+CROSS32_COMPILE ?=
 #CROSS32_COMPILE = /usr/local/ppc/bin/powerpc-linux-

 BOOTCC		:= $(CROSS32_COMPILE)gcc


More information about the Linuxppc64-dev mailing list