summaryrefslogtreecommitdiff
path: root/arch/arc/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/config.mk')
-rw-r--r--arch/arc/config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arc/config.mk b/arch/arc/config.mk
index 5321987..dd180ef 100644
--- a/arch/arc/config.mk
+++ b/arch/arc/config.mk
@@ -25,6 +25,10 @@ ifdef CONFIG_ARC_MMU_VER
CONFIG_MMU = 1
endif
+ifdef CONFIG_CPU_ARC770D
+PLATFORM_CPPFLAGS += -mlock -mswape
+endif
+
PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2
# Needed for relocation