From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARC: change the default CROSS_COMPILE for ARC
Date: Wed, 13 May 2015 09:36:33 +0000 [thread overview]
Message-ID: <1431509793.2935.16.camel@synopsys.com> (raw)
In-Reply-To: <1431340925-21996-1-git-send-email-yamada.masahiro@socionext.com>
Hello Masahiro-san,
On Mon, 2015-05-11 at 19:42 +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
> (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@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
I would propose to use even simpler and more universal prefix which
could be used with both ARC pre-built toolchains, your own toolchain
built by Buildroot or even pre-built Buildroot toolchain
(http://autobuild.buildroot.org/toolchains/tarballs/br-arcle-hs38-full-2015.02.tar.bz2):
[1] "arc-linux-" for little-endian
[2] "arceb-linux-"
Care to re-send your patch or I may do that change myself?
-Alexey
next prev parent reply other threads:[~2015-05-13 9:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-11 10:42 [U-Boot] [PATCH] ARC: change the default CROSS_COMPILE for ARC Masahiro Yamada
2015-05-13 9:36 ` Alexey Brodkin [this message]
2015-05-13 9:51 ` Masahiro Yamada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1431509793.2935.16.camel@synopsys.com \
--to=alexey.brodkin@synopsys.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.