From: Phil Blundell <philb@gnu.org>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] gcc: Add ability for tune files to pass in configure options to gcc
Date: Mon, 01 Aug 2011 17:07:14 +0100 [thread overview]
Message-ID: <1312214835.30326.528.camel@phil-desktop> (raw)
In-Reply-To: <4727DFCB-0AA2-43D1-A0CA-58717D815FE8@kernel.crashing.org>
On Mon, 2011-08-01 at 09:37 -0500, Kumar Gala wrote:
> Not sure I understand the statement about disambiguate the resulting compilers, on PPC where I intend to utilize this we'd have the toolchains already named something like:
The thing about disambiguating was that, if you're going to modify the
configure opts for gcc-cross based (indirectly) on ${MACHINE} you need
to consider what happens if you have a single build directory that's
being used for multiple MACHINEs.
From what you've described as the usecase for this feature it sounds as
though the easiest answer to that is simply to stop your extra flags
from being used by gcc-cross and ensure that they're only used by gcc.
Then you'd just need to make sure that the PACKAGE_ARCH for gcc always
reflects the options being used, which sounds lke it might already be
true for ppc but possibly is not in general. (The target gcc package
isn't buildable for me at the moment but a bit of poking around with
bitbake -e suggests that it's just getting the generic architecture
PACKAGE_ARCH on i586 at least.)
I'm not familiar enough with the sdk code to know whether there are
going to be any issues around that or not.
p.
next prev parent reply other threads:[~2011-08-01 16:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-01 14:21 [PATCH] gcc: Add ability for tune files to pass in configure options to gcc Kumar Gala
2011-08-01 14:30 ` Phil Blundell
2011-08-01 14:37 ` Kumar Gala
2011-08-01 16:07 ` Phil Blundell [this message]
2011-08-01 16:44 ` Tom Rini
2011-08-01 16:57 ` Richard Purdie
2011-08-02 13:11 ` Kumar Gala
2011-08-02 13:42 ` Richard Purdie
2011-08-08 16:32 ` Kumar Gala
2011-08-08 23:22 ` Richard Purdie
2011-08-08 16:35 ` Kumar Gala
2011-08-08 19:33 ` Richard Purdie
2011-08-02 13:02 ` Phil Blundell
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=1312214835.30326.528.camel@phil-desktop \
--to=philb@gnu.org \
--cc=galak@kernel.crashing.org \
--cc=openembedded-core@lists.openembedded.org \
/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