summaryrefslogtreecommitdiffstats
path: root/arch/arc/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/config.mk')
-rw-r--r--arch/arc/config.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arc/config.mk b/arch/arc/config.mk
index 4f2d31feb3..3e75e606b3 100644
--- a/arch/arc/config.mk
+++ b/arch/arc/config.mk
@@ -27,8 +27,12 @@ ifdef CONFIG_ARC_MMU_VER
CONFIG_MMU = 1
endif
+ifdef CONFIG_CPU_ARC750D
+PLATFORM_CPPFLAGS += -marc700
+endif
+
ifdef CONFIG_CPU_ARC770D
-PLATFORM_CPPFLAGS += -mlock -mswape
+PLATFORM_CPPFLAGS += -marc700 -mlock -mswape
endif
PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2
OpenPOWER on IntegriCloud