From 0315a28909aa9781706bcd5743f2665220b6b099 Mon Sep 17 00:00:00 2001 From: Daniel Schwierzeck Date: Sat, 26 Dec 2015 19:55:37 +0100 Subject: MIPS: Kconfig: optimize gcc -march and -mtune setup Move setup of -march to arch/mips/Makefile and follow the design on ARM. Also add a possibility to chose specific CPU tune options. Signed-off-by: Wills Wang Signed-off-by: Daniel Schwierzeck --- arch/mips/config.mk | 6 ------ 1 file changed, 6 deletions(-) (limited to 'arch/mips/config.mk') diff --git a/arch/mips/config.mk b/arch/mips/config.mk index b78d4953ba..609a998f3b 100644 --- a/arch/mips/config.mk +++ b/arch/mips/config.mk @@ -35,12 +35,6 @@ PLATFORM_LDFLAGS += -m$(64bit-emul) OBJCOPYFLAGS += -O $(64bit-bfd) endif -cpuflags-$(CONFIG_CPU_MIPS32_R1) += -march=mips32 -Wa,-mips32 -cpuflags-$(CONFIG_CPU_MIPS32_R2) += -march=mips32r2 -Wa,-mips32r2 -cpuflags-$(CONFIG_CPU_MIPS64_R1) += -march=mips64 -Wa,-mips64 -cpuflags-$(CONFIG_CPU_MIPS64_R2) += -march=mips64r2 -Wa,-mips64r2 -PLATFORM_CPPFLAGS += $(cpuflags-y) - PLATFORM_CPPFLAGS += -D__MIPS__ # -- cgit v1.2.1