From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH] kbuild: use "cc-cross-prefix" to choose CROSS_COMPILE
Date: Wed, 5 Mar 2014 08:37:54 -0500 [thread overview]
Message-ID: <20140305133754.GX16805@bill-the-cat> (raw)
In-Reply-To: <1394011464-23098-1-git-send-email-yamada.m@jp.panasonic.com>
On Wed, Mar 05, 2014 at 06:24:24PM +0900, Masahiro Yamada wrote:
> CROSS_COMPILE is generally passed from the command line
> or by the environment variable because cross tools
> vary from user to user.
>
> But, having some choices of often used CROSS_COMPILE
> seems reasonable.
>
> $(call cc-cross-prefix, ...) returns the first prefix
> where a prefix$(CC) is found in PATH.
>
> If your cross tools exist in the argument of
> $(call cc-cross-prefix, ...), you do not have to
> specify it explicitly.
>
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> ---
>
> My question is which cross tools are popular enough
> to be added to the list.
>
> In my opition, arm-linux-gnueabi-gcc is popular
> because it is distributed in Ubuntu.
>
> On the other hand, I am not sure ppc_8xx-gcc is currently
> being used.
>
> Which one should be to added/deleted to our default list.
> Your comments are very welcome.
> (I am not familiar with compilers very much.)
>
>
> arch/arm/config.mk | 2 +-
> arch/microblaze/config.mk | 2 +-
> arch/powerpc/config.mk | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
Looking at the kernel, mips is a better example of where this becomes a
handy thing, over just a "stop passing CROSS_COMPILE". But that
includes adding tool-archpref.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140305/09ce1bd6/attachment.pgp>
next prev parent reply other threads:[~2014-03-05 13:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-05 9:24 [U-Boot] [RFC PATCH] kbuild: use "cc-cross-prefix" to choose CROSS_COMPILE Masahiro Yamada
2014-03-05 10:06 ` Detlev Zundel
2014-03-05 10:27 ` Masahiro Yamada
2014-03-05 10:38 ` Detlev Zundel
2014-03-05 21:45 ` Gerhard Sittig
2014-03-05 13:37 ` Tom Rini [this message]
2014-03-12 5:47 ` 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=20140305133754.GX16805@bill-the-cat \
--to=trini@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox