MIPS: Loongson: Move arch cflags to MIPS top level Makefile
[platform/kernel/linux-starfive.git] / arch / mips / loongson64 / Platform
index 473404c..49c9889 100644 (file)
@@ -1,20 +1,4 @@
 #
-# Loongson Processors' Support
-#
-
-
-cflags-$(CONFIG_CPU_LOONGSON64)        += -Wa,--trap
-
-ifdef CONFIG_CPU_LOONGSON64
-cflags-$(CONFIG_CC_IS_GCC) += -march=loongson3a
-cflags-$(CONFIG_CC_IS_CLANG) += -march=mips64r2
-endif
-
-# Some -march= flags enable MMI instructions, and GCC complains about that
-# support being enabled alongside -msoft-float. Thus explicitly disable MMI.
-cflags-y += $(call cc-option,-mno-loongson-mmi)
-
-#
 # Loongson Machines' Support
 #