summaryrefslogtreecommitdiffstats
path: root/arch/mips/config.mk
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2015-12-26 19:55:37 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2016-01-16 21:06:46 +0100
commit0315a28909aa9781706bcd5743f2665220b6b099 (patch)
treec87b0a889f15f974f0082f9b02b9c7788c6ed265 /arch/mips/config.mk
parent76ada5f8b7bb4b295ced087bd3c34eb8161a1a75 (diff)
downloadtalos-obmc-uboot-0315a28909aa9781706bcd5743f2665220b6b099.tar.gz
talos-obmc-uboot-0315a28909aa9781706bcd5743f2665220b6b099.zip
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 <wills.wang@live.com> Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/config.mk')
-rw-r--r--arch/mips/config.mk6
1 files changed, 0 insertions, 6 deletions
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__
#
OpenPOWER on IntegriCloud