summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2016-06-16 10:55:00 +0200
committerAlexey Brodkin <abrodkin@synopsys.com>2016-07-04 11:43:40 +0300
commit7a54f5177ac3d8d972622dd9f85964c23a6df68d (patch)
treef9db3065426e1543da228011477a4a63a7d8249c
parent0e1e587ff4fc2d81ad4f6313f02c5ca4c8ceea01 (diff)
downloadu-boot-imx-7a54f5177ac3d8d972622dd9f85964c23a6df68d.zip
u-boot-imx-7a54f5177ac3d8d972622dd9f85964c23a6df68d.tar.gz
u-boot-imx-7a54f5177ac3d8d972622dd9f85964c23a6df68d.tar.bz2
arc: Use "-mcpu=archs" instead of deprecated "-marchs" for ARC HS
Newer ARC toolchains don't support "-marchs" option any longer. Instead "-mcpu=archs" should be used. What's also important older toiolchains that support ARC HS cores will also happily accept "-mcpu=archs" so that's a very safe move. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
-rw-r--r--arch/arc/config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/config.mk b/arch/arc/config.mk
index 74943d9..7c974f0 100644
--- a/arch/arc/config.mk
+++ b/arch/arc/config.mk
@@ -43,11 +43,11 @@ PLATFORM_CPPFLAGS += -marcem
endif
ifdef CONFIG_CPU_ARCHS34
-PLATFORM_CPPFLAGS += -marchs
+PLATFORM_CPPFLAGS += -mcpu=archs
endif
ifdef CONFIG_CPU_ARCHS38
-PLATFORM_CPPFLAGS += -marchs
+PLATFORM_CPPFLAGS += -mcpu=archs
endif
PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2