Skip to contentSkip to conversation

arc: Use -mcpu=XXX instead of obsolete -marcXXX

PATCH New Alexey Brodkin 1 participant 1 message Sep 16, 2016 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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".

---
 arch/arc/config.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arc/config.mk +3 -3
index 7c974f0..13676bd 100644
@@ -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
Signature · 1 line
2.7.4