Re: [patch] 2.4: Support for newer gcc/gas options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> On Tue, 16 Dec 2003 22:33:41 +0100 (CET), "Maciej W. Rozycki" <macro@ds2.pg.gda.pl> said:
macro>  ifdef CONFIG_CPU_TX39XX
macro> -GCCFLAGS	+= -mcpu=r3000 -mips1
macro> +GCCFLAGS	+= $(call set_gccflags,r3000,mips1,r3000,mips1,mips1)
macro>  endif

Recent tools have -march=r3900 option.  Now we can use this without
hitting old tool users.  Please apply this patch.  Thank you.

diff -u linux-mips/arch/mips/Makefile linux/arch/mips/Makefile 
--- linux-mips/arch/mips/Makefile	Mon Jan  5 08:37:51 2004
+++ linux/arch/mips/Makefile	Mon Jan  5 09:50:06 2004
@@ -107,7 +107,7 @@
 GCCFLAGS	+= $(call set_gccflags,r3000,mips1,r3000,mips1,mips1)
 endif
 ifdef CONFIG_CPU_TX39XX
-GCCFLAGS	+= $(call set_gccflags,r3000,mips1,r3000,mips1,mips1)
+GCCFLAGS	+= $(call set_gccflags,r3900,mips1,r3000,mips1,mips1)
 endif
 ifdef CONFIG_CPU_R6000
 GCCFLAGS	+= $(call set_gccflags,r6000,mips2,r6000,mips2,mips2) \

---
Atsushi Nemoto


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux