From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Randy MacLeod <randy.macleod@windriver.com>
Cc: "openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: How to put a correct dependency with regards to gcc?
Date: Wed, 16 Sep 2015 17:52:49 +0100 [thread overview]
Message-ID: <1442422369.26666.147.camel@linuxfoundation.org> (raw)
In-Reply-To: <55F8D5CD.70606@windriver.com>
On Tue, 2015-09-15 at 22:37 -0400, Randy MacLeod wrote:
> I haven't been able to come up with a scheme that works yet.
> With the patch below, I get:
>
> I'll need someone to explain the intent of the gcc-* pkgs
> design or more time to dig though the files and history.
>
> Robert tells me that my idea that I need a bitbake rule to:
> " call the parent implementation or
> if there isn't one, return success."
> has been discussed before and it is not easy to do.
>
> For me, this is "a nice to have" feature that could wait
> for oe-core-2.1.
The idea is quite simple. Rather than having a copy of the gcc source
for each recipe variant (-cross-initial, -cross, -crosssdk-initial,
-crosssdk, -cross-canadian etc.) we have a single copy of the source.
We tried an older shared stamp scheme which was fragile and prone to
weird failures. Instead we created the gcc-source recipe which is
responsible for the fetch/unpack/patch/preconfigure and then each recipe
can work off the shared source (and has a dependency on gcc-source).
For Elena's use case, I therefore think it might be better to analyse
the shared source once and not in the case of each recipe (e.g. if
SRC_URI is empty).
Cheers,
Richard
next prev parent reply other threads:[~2015-09-16 16:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-04 17:03 How to put a correct dependency with regards to gcc? Reshetova, Elena
2015-09-09 2:45 ` Randy MacLeod
2015-09-09 7:05 ` Patrick Ohly
2015-09-09 16:13 ` Reshetova, Elena
2015-09-09 16:09 ` Reshetova, Elena
2015-09-14 17:55 ` Randy MacLeod
2015-09-14 18:06 ` Reshetova, Elena
2015-09-16 2:37 ` Randy MacLeod
2015-09-16 16:52 ` Richard Purdie [this message]
2015-09-22 11:03 ` Reshetova, Elena
2015-09-22 11:09 ` Richard Purdie
2015-09-22 11:13 ` Reshetova, Elena
2015-09-16 16:43 ` Richard Purdie
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=1442422369.26666.147.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=randy.macleod@windriver.com \
/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.