summaryrefslogtreecommitdiff
path: root/arch/arc
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2016-09-16 12:12:26 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2016-09-16 12:12:26 +0300
commit7c8d81605302e7d7fdd3e7d8eb69302bddc64a2c (patch)
treeb6608f00aba42115b5ce3a609f616a0b34e8132f /arch/arc
parent8cbb389bb3da80cbf8911f8386cbff92c6a78afe (diff)
arc: Use -mcpu=XXX instead of obsolete -marcXXX
With newer ARC tools old way of CPU specification gets obsolete, so we're switching to newer and more common way of setting "-mcpu". Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/config.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arc/config.mk b/arch/arc/config.mk
index 7c974f0055..13676bd0c8 100644
--- a/arch/arc/config.mk
+++ b/arch/arc/config.mk
@@ -31,15 +31,15 @@ CONFIG_MMU = 1
endif
ifdef CONFIG_CPU_ARC750D
-PLATFORM_CPPFLAGS += -marc700
+PLATFORM_CPPFLAGS += -mcpu=arc700
endif
ifdef CONFIG_CPU_ARC770D
-PLATFORM_CPPFLAGS += -marc700 -mlock -mswape
+PLATFORM_CPPFLAGS += -mcpu=arc700 -mlock -mswape
endif
ifdef CONFIG_CPU_ARCEM6
-PLATFORM_CPPFLAGS += -marcem
+PLATFORM_CPPFLAGS += -mcpu=arcem
endif
ifdef CONFIG_CPU_ARCHS34