[U-Boot] [PATCH] ARC: change the default CROSS_COMPILE for ARC

Masahiro Yamada yamada.masahiro at socionext.com
Mon May 11 12:42:05 CEST 2015


As doc/README.ARC says, pre-build ARC toolchains are available at
the Synopsys GitHub page.

The bin files are prefixed with arc(eb)-buildroot-linux- for earlier
releases, but with arc(eb)-snps-linux- for the latest releases
(arc_gnu_2014.12_prebuilt_*).

For all the releases, the symbolic link, arc(eb)-linux-* is also
prepared for each bin file, so it can be used as the default
CROSS_COMPILE regardless of the toolchains version.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 arch/arc/config.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arc/config.mk b/arch/arc/config.mk
index 04c034b..9aed147 100644
--- a/arch/arc/config.mk
+++ b/arch/arc/config.mk
@@ -11,13 +11,13 @@ CONFIG_SYS_BIG_ENDIAN = 1
 endif
 
 ifdef CONFIG_SYS_LITTLE_ENDIAN
-ARC_CROSS_COMPILE := arc-buildroot-linux-uclibc-
+ARC_CROSS_COMPILE := arc-linux-uclibc-
 PLATFORM_LDFLAGS += -EL
 PLATFORM_CPPFLAGS += -mlittle-endian
 endif
 
 ifdef CONFIG_SYS_BIG_ENDIAN
-ARC_CROSS_COMPILE := arceb-buildroot-linux-uclibc-
+ARC_CROSS_COMPILE := arceb-linux-uclibc-
 PLATFORM_LDFLAGS += -EB
 PLATFORM_CPPFLAGS += -mbig-endian
 endif
-- 
1.9.1



More information about the U-Boot mailing list