mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
Generate code for MIPS32 / MIPS64 Release 2 if configured for one of
these architectures. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
ff88f8a3d2
commit
079ef8bb80
@ -195,10 +195,18 @@ cflags-$(CONFIG_CPU_MIPS32_R1) += \
|
|||||||
$(call set_gccflags,mips32,mips32,r4600,mips3,mips2) \
|
$(call set_gccflags,mips32,mips32,r4600,mips3,mips2) \
|
||||||
-Wa,--trap
|
-Wa,--trap
|
||||||
|
|
||||||
|
cflags-$(CONFIG_CPU_MIPS32_R2) += \
|
||||||
|
$(call set_gccflags,mips32r2,mips32r2,r4600,mips3,mips2) \
|
||||||
|
-Wa,--trap
|
||||||
|
|
||||||
cflags-$(CONFIG_CPU_MIPS64_R1) += \
|
cflags-$(CONFIG_CPU_MIPS64_R1) += \
|
||||||
$(call set_gccflags,mips64,mips64,r4600,mips3,mips2) \
|
$(call set_gccflags,mips64,mips64,r4600,mips3,mips2) \
|
||||||
-Wa,--trap
|
-Wa,--trap
|
||||||
|
|
||||||
|
cflags-$(CONFIG_CPU_MIPS64_R2) += \
|
||||||
|
$(call set_gccflags,mips64r2,mips64r2,r4600,mips3,mips2) \
|
||||||
|
-Wa,--trap
|
||||||
|
|
||||||
cflags-$(CONFIG_CPU_R5000) += \
|
cflags-$(CONFIG_CPU_R5000) += \
|
||||||
$(call set_gccflags,r5000,mips4,r5000,mips4,mips2) \
|
$(call set_gccflags,r5000,mips4,r5000,mips4,mips2) \
|
||||||
-Wa,--trap
|
-Wa,--trap
|
||||||
|
Loading…
Reference in New Issue
Block a user