diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/linux/linux-wrt-2.4.20/gcc_mtune.patch | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/linux/linux-wrt-2.4.20/gcc_mtune.patch')
-rw-r--r-- | packages/linux/linux-wrt-2.4.20/gcc_mtune.patch | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/packages/linux/linux-wrt-2.4.20/gcc_mtune.patch b/packages/linux/linux-wrt-2.4.20/gcc_mtune.patch index e69de29bb2..db8b5a7305 100644 --- a/packages/linux/linux-wrt-2.4.20/gcc_mtune.patch +++ b/packages/linux/linux-wrt-2.4.20/gcc_mtune.patch @@ -0,0 +1,69 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- linux-2.4.20/arch/mips/Makefile~gcc_mtune 2005-01-07 04:06:12.000000000 -0500 ++++ linux-2.4.20/arch/mips/Makefile 2005-01-07 04:07:03.532480104 -0500 +@@ -54,47 +54,47 @@ + # CPU-dependent compiler/assembler options for optimization. + # + ifdef CONFIG_CPU_R3000 +-GCCFLAGS += -mcpu=r3000 -mips1 ++GCCFLAGS += -mtune=r3000 -mips1 + endif + ifdef CONFIG_CPU_TX39XX +-GCCFLAGS += -mcpu=r3000 -mips1 ++GCCFLAGS += -mtune=r3000 -mips1 + endif + ifdef CONFIG_CPU_R6000 +-GCCFLAGS += -mcpu=r6000 -mips2 -Wa,--trap ++GCCFLAGS += -mtune=r6000 -mips2 -Wa,--trap + endif + ifdef CONFIG_CPU_R4300 +-GCCFLAGS += -mcpu=r4300 -mips2 -Wa,--trap ++GCCFLAGS += -mtune=r4300 -mips2 -Wa,--trap + endif + ifdef CONFIG_CPU_VR41XX +-GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap ++GCCFLAGS += -mtune=r4600 -mips2 -Wa,--trap + endif + ifdef CONFIG_CPU_R4X00 +-GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap ++GCCFLAGS += -mtune=r4600 -mips2 -Wa,--trap + endif + ifdef CONFIG_CPU_TX49XX +-GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap ++GCCFLAGS += -mtune=r4600 -mips2 -Wa,--trap + endif + ifdef CONFIG_CPU_MIPS32 +-GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap ++GCCFLAGS += -mtune=r4600 -mips2 -Wa,--trap + endif + ifdef CONFIG_CPU_MIPS64 +-GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap ++GCCFLAGS += -mtune=r4600 -mips2 -Wa,--trap + endif + ifdef CONFIG_CPU_R5000 +-GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap ++GCCFLAGS += -mtune=r5000 -mips2 -Wa,--trap + endif + ifdef CONFIG_CPU_R5432 +-GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap ++GCCFLAGS += -mtune=r5000 -mips2 -Wa,--trap + endif + ifdef CONFIG_CPU_NEVADA + # Cannot use -mmad with currently recommended tools +-GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap ++GCCFLAGS += -mtune=r5000 -mips2 -Wa,--trap + endif + ifdef CONFIG_CPU_RM7000 +-GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap ++GCCFLAGS += -mtune=r5000 -mips2 -Wa,--trap + endif + ifdef CONFIG_CPU_SB1 +-GCCFLAGS += $(call check_gcc, -mcpu=sb1, -mcpu=r5000) \ ++GCCFLAGS += $(call check_gcc, -mtune=sb1, -mtune=r5000) \ + -mips2 -Wa,--trap + ifdef CONFIG_SB1_PASS_1_WORKAROUNDS + MODFLAGS += -msb1-pass1-workarounds |