aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-07-12 10:56:53 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:31:45 -0400
commit079ef8bb809c701fa0ab09d8984262693b854f94 (patch)
tree3f8f673054c6bef389570dcefa7a4dd27093f311 /arch/mips/Makefile
parentff88f8a3d290c213f90d40aa81bdea5c054f58b5 (diff)
Generate code for MIPS32 / MIPS64 Release 2 if configured for one of
these architectures. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r--arch/mips/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 752709300c55..6780d115a7dc 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -195,10 +195,18 @@ cflags-$(CONFIG_CPU_MIPS32_R1) += \
195 $(call set_gccflags,mips32,mips32,r4600,mips3,mips2) \ 195 $(call set_gccflags,mips32,mips32,r4600,mips3,mips2) \
196 -Wa,--trap 196 -Wa,--trap
197 197
198cflags-$(CONFIG_CPU_MIPS32_R2) += \
199 $(call set_gccflags,mips32r2,mips32r2,r4600,mips3,mips2) \
200 -Wa,--trap
201
198cflags-$(CONFIG_CPU_MIPS64_R1) += \ 202cflags-$(CONFIG_CPU_MIPS64_R1) += \
199 $(call set_gccflags,mips64,mips64,r4600,mips3,mips2) \ 203 $(call set_gccflags,mips64,mips64,r4600,mips3,mips2) \
200 -Wa,--trap 204 -Wa,--trap
201 205
206cflags-$(CONFIG_CPU_MIPS64_R2) += \
207 $(call set_gccflags,mips64r2,mips64r2,r4600,mips3,mips2) \
208 -Wa,--trap
209
202cflags-$(CONFIG_CPU_R5000) += \ 210cflags-$(CONFIG_CPU_R5000) += \
203 $(call set_gccflags,r5000,mips4,r5000,mips4,mips2) \ 211 $(call set_gccflags,r5000,mips4,r5000,mips4,mips2) \
204 -Wa,--trap 212 -Wa,--trap