summaryrefslogtreecommitdiffstats
path: root/toolchain/toolchain-external/ext-toolchain-wrapper.c
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2015-03-10 14:50:24 +0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-16 14:20:54 +0100
commit2b93fe5374ae4f8337e1f7ae32be4d72dd94cb3c (patch)
tree4cf13ea867cac0cbdbaf3818c4993d2f4d0ea4d5 /toolchain/toolchain-external/ext-toolchain-wrapper.c
parentc511ca937d4627df7d601a999945faa20fe4cc8d (diff)
downloadbuildroot-2b93fe5374ae4f8337e1f7ae32be4d72dd94cb3c.tar.gz
buildroot-2b93fe5374ae4f8337e1f7ae32be4d72dd94cb3c.zip
toolchain-external: add Synopsys DesignWare tools for ARC cores
With this change we add pre-built external toolachins for DesignWare ARC cores. All currently existed flavours are supported: * ARC 700 and ARC HS cores * Little- and big-endian configurations These pre-built tools are built with build scripts available here (https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/tree/arc-2014.12) and correspond to arc-2014.12 release of sources. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Anton Kolesov <akolesov@synopsys.com> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'toolchain/toolchain-external/ext-toolchain-wrapper.c')
-rw-r--r--toolchain/toolchain-external/ext-toolchain-wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/toolchain-external/ext-toolchain-wrapper.c b/toolchain/toolchain-external/ext-toolchain-wrapper.c
index faf977b162..e2d01dcd5b 100644
--- a/toolchain/toolchain-external/ext-toolchain-wrapper.c
+++ b/toolchain/toolchain-external/ext-toolchain-wrapper.c
@@ -63,7 +63,7 @@ static char *predef_args[] = {
#ifdef BR_MIPS_TARGET_LITTLE_ENDIAN
"-EL",
#endif
-#ifdef BR_MIPS_TARGET_BIG_ENDIAN
+#if defined(BR_MIPS_TARGET_BIG_ENDIAN) || defined(BR_ARC_TARGET_BIG_ENDIAN)
"-EB",
#endif
#ifdef BR_ADDITIONAL_CFLAGS
OpenPOWER on IntegriCloud