From: Ralf Baechle Date: Tue, 12 Jul 2005 14:56:53 +0000 (+0000) Subject: Generate code for MIPS32 / MIPS64 Release 2 if configured for one of X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=079ef8bb809c701fa0ab09d8984262693b854f94;p=mv-sheeva.git Generate code for MIPS32 / MIPS64 Release 2 if configured for one of these architectures. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 752709300c5..6780d115a7d 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -195,10 +195,18 @@ cflags-$(CONFIG_CPU_MIPS32_R1) += \ $(call set_gccflags,mips32,mips32,r4600,mips3,mips2) \ -Wa,--trap +cflags-$(CONFIG_CPU_MIPS32_R2) += \ + $(call set_gccflags,mips32r2,mips32r2,r4600,mips3,mips2) \ + -Wa,--trap + cflags-$(CONFIG_CPU_MIPS64_R1) += \ $(call set_gccflags,mips64,mips64,r4600,mips3,mips2) \ -Wa,--trap +cflags-$(CONFIG_CPU_MIPS64_R2) += \ + $(call set_gccflags,mips64r2,mips64r2,r4600,mips3,mips2) \ + -Wa,--trap + cflags-$(CONFIG_CPU_R5000) += \ $(call set_gccflags,r5000,mips4,r5000,mips4,mips2) \ -Wa,--trap