Re: Linux 2.2.19pre5

From: Keith Owens (kaos@ocs.com.au)
Date: Wed Jan 03 2001 - 02:24:16 EST


On Wed, 3 Jan 2001 04:15:16 +0100,
"J . A . Magallon" <jamagallon@able.es> wrote:
>I have seen that the CCFOUND stuff has flown away. I have read it
>breaks somthing, and the CROSS_COMPILE in alphas and m68k.
>Perhaps this way could be better : ??
>..
>include arch/$(ARCH)/Makefile
>
>AS :=$(AS)
>LD :=$(LD)
>CC :=$(CC)
>CPP :=$(CPP)

Agreed. Alan, please apply.

Index: 19-pre5.1/Makefile
--- 19-pre5.1/Makefile Wed, 03 Jan 2001 17:44:03 +1100 kaos (linux-2.2/G/b/14_Makefile 1.3.2.2.1.1.1.5.1.3.6.1.5.1.1.1.1.16.1.16 644)
+++ 19-pre5.1(w)/Makefile Wed, 03 Jan 2001 18:15:57 +1100 kaos (linux-2.2/G/b/14_Makefile 1.3.2.2.1.1.1.5.1.3.6.1.5.1.1.1.1.16.1.16 644)
@@ -219,6 +219,17 @@ DRIVERS := $(DRIVERS) drivers/telephony/
 endif
 
 include arch/$(ARCH)/Makefile
+# arch/$(ARCH)/Makefile is the last thing that is allowed to change CROSS_COMPILE.
+# Revaluate final values for speed.
+AS :=$(AS)
+LD :=$(LD)
+CC :=$(CC)
+CPP :=$(CPP)
+AR :=$(AR)
+NM :=$(NM)
+STRIP :=$(STRIP)
+OBJCOPY :=$(OBJCOPY)
+OBJDUMP :=$(OBJDUMP)
 
 .S.s:
         $(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -E -o $*.s $<

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:14 EST