diff mbox

[U-Boot,v2] arc: use more universal prefix for default CROSS_COMPILE

Message ID 1431510571-30788-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Delegated to: Alexey Brodkin
Headers show

Commit Message

Masahiro Yamada May 13, 2015, 9:49 a.m. UTC
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.

The symbolic links prefixed with arc(eb)-linux- are also available
for all the release, so those prefixes can be used as the default
CROSS_COMPILE regardless of the toolchains version/variants.

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

Changes in v2:
  - Use "arc(eb)-linux-" rather than "arc(eb)-linux-uclibc-"

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

Comments

Alexey Brodkin May 13, 2015, 10:41 a.m. UTC | #1
Hello Masahiro-san,

On Wed, 2015-05-13 at 18:49 +0900, Masahiro Yamada wrote:
> 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.
> 
> The symbolic links prefixed with arc(eb)-linux- are also available
> for all the release, so those prefixes can be used as the default
> CROSS_COMPILE regardless of the toolchains version/variants.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
> 
> Changes in v2:
>   - Use "arc(eb)-linux-" rather than "arc(eb)-linux-uclibc-"

Applied!

Thanks,
Alexey
diff mbox

Patch

diff --git a/arch/arc/config.mk b/arch/arc/config.mk
index 04c034b..74943d9 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-
 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-
 PLATFORM_LDFLAGS += -EB
 PLATFORM_CPPFLAGS += -mbig-endian
 endif