1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
--- arch/mips/Makefile.orig 2003-08-25 22:50:20.000000000 -0400
+++ arch/mips/Makefile 2003-08-25 22:50:57.000000000 -0400
@@ -72,7 +72,7 @@ ifdef CONFIG_CPU_VR41XX
GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap
endif
ifdef CONFIG_CPU_R4X00
-GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap
+GCCFLAGS += -mips3 -Wa,--trap
endif
ifdef CONFIG_CPU_TX49XX
GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap
@@ -84,14 +84,14 @@ ifdef CONFIG_CPU_MIPS64
GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap
endif
ifdef CONFIG_CPU_R5000
-GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap
+GCCFLAGS += -mips4 -Wa,--trap
endif
ifdef CONFIG_CPU_R5432
GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap
endif
ifdef CONFIG_CPU_NEVADA
# Cannot use -mmad with currently recommended tools
-GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap
+GCCFLAGS += -mips4 -Wa,--trap
endif
ifdef CONFIG_CPU_RM7000
GCCFLAGS += $(call check_gcc, -march=rm7000, -mcpu=r5000) \
--- arch/mips64/Makefile.orig 2003-08-25 22:52:01.000000000 -0400
+++ arch/mips64/Makefile 2003-08-25 22:52:42.000000000 -0400
@@ -55,10 +55,10 @@ ifdef CONFIG_CPU_R4300
GCCFLAGS += -mcpu=r4300 -mips3
endif
ifdef CONFIG_CPU_R4X00
-GCCFLAGS += -mcpu=r4600 -mips3
+GCCFLAGS += -mips3
endif
ifdef CONFIG_CPU_R5000
-GCCFLAGS += -mcpu=r8000 -mips4
+GCCFLAGS += -mips4
endif
ifdef CONFIG_CPU_NEVADA
GCCFLAGS += -mcpu=r8000 -mips3 -mmad
|