From: Richard Purdie <rpurdie@rpsys.net>
To: openembedded-devel@openembedded.org
Subject: Re: [RFC] Bring PREFERRED_LIBC to all distros
Date: Mon, 11 May 2009 09:07:05 +0100 [thread overview]
Message-ID: <1242029225.5824.22.camel@ted> (raw)
In-Reply-To: <gu8ikj$gvo$1@ger.gmane.org>
On Mon, 2009-05-11 at 09:03 +0200, Koen Kooi wrote:
> On 11-05-09 00:36, Tom Rini wrote:
> > On Sun, May 10, 2009 at 07:27:42PM -0300, Otavio Salvador wrote:
> >> Hello Tom,
> >>
> >> On Sun, May 10, 2009 at 6:51 PM, Tom Rini<trini@embeddedalley.com> wrote:
> >>> Not too wierd looking? Otherwise, is there somewhere we can do,
> >>> roughly, sort -u, on ${OVERRIDES} ? And not require a new bitbake for
> >>> everyone?
>
> How do you decide which one to drop? The one with a lower or higher
> priority? You can see how that gets real ugly real fast.
>
> >> I belive that we shouldn't add hacks into OE recipes to avoid the
> >> requirement of new bitbake. If someone is using dev tree we can assume
> >> that this person can also use a development version from bitbake
> >> stable branch.
> >
> > I don't mean a hack to glibc*.bb, but rather changing base.bbclass (and
> > anything else) to not blow up if OVERRIDES contains duplicates. I think
> > it's possible to add a python function that does it, but it would have
> > to be 'slow' since the fast method is to throw everything into a dict
> > and then return the list of keys. So perhaps it's best to just say
> > libc-<foo> for an additional per-libc override.
>
> libc-<foo> is also a lot clearer in the case of newlib :)
Playing with OVERRIDES can get messy quickly. The key to success is
having patterns which are unique. "glibc" is therefore not as good as
"libc-glibc". This is why there are the "task-" and "pn-" namespaces and
IMO, namespaces are essential there.
Yes, there are several things we add there without namespacing but we've
mostly been lucky...
Cheers,
Richard
next prev parent reply other threads:[~2009-05-11 8:13 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-27 14:19 [RFC] Bring PREFERRED_LIBC to all distros Tom Rini
2009-04-27 14:22 ` [RFC][PATCH] All distro conf files: Use PREFERRED_LIBC to pick or set your libc Tom Rini
2009-04-27 14:23 ` [RFC][PATCH] Add distro inc files for eglibc, glibc and uclibc Tom Rini
2009-04-27 14:23 ` [RFC][PATCH] All distros: Bring in conf/distro/include/${PREFERRED_LIBC}.inc Tom Rini
2009-04-27 14:24 ` [RFC][PATCH] glibc: In various old recipes add RPROVIDES virtual-libc-dev, bump PR Tom Rini
2009-04-27 15:33 ` [RFC] Bring PREFERRED_LIBC to all distros Koen Kooi
2009-04-27 15:43 ` Tom Rini
2009-04-27 16:45 ` Koen Kooi
2009-04-27 16:51 ` Tom Rini
2009-04-27 17:32 ` Philip Balister
2009-04-27 17:36 ` Tom Rini
2009-04-27 15:35 ` Otavio Salvador
2009-04-29 16:06 ` Tom Rini
2009-04-28 20:30 ` Khem Raj
2009-04-28 20:55 ` Tom Rini
2009-04-29 5:40 ` Koen Kooi
2009-04-29 16:12 ` Tom Rini
2009-04-29 23:25 ` Leon Woestenberg
2009-05-02 19:55 ` Mike (mwester)
2009-05-03 12:29 ` Leon Woestenberg
2009-05-03 16:53 ` Tom Rini
2009-05-10 19:47 ` Tom Rini
2009-05-10 21:03 ` Koen Kooi
2009-05-10 21:51 ` Tom Rini
2009-05-10 22:27 ` Otavio Salvador
2009-05-10 22:36 ` Tom Rini
2009-05-11 7:03 ` Koen Kooi
2009-05-11 8:07 ` Richard Purdie [this message]
2009-05-11 8:27 ` Graeme Gregory
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=1242029225.5824.22.camel@ted \
--to=rpurdie@rpsys.net \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@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 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.