From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/2] tclibc-uclibc.inc: Append -uclibc only to target recipes
Date: Wed, 18 May 2011 11:09:59 +0100 [thread overview]
Message-ID: <1305713399.3424.306.camel@rex> (raw)
In-Reply-To: <BANLkTimxzmHLg9FkMuF8HOYiUuDiBjzR8w@mail.gmail.com>
On Wed, 2011-05-18 at 10:48 +0200, Frans Meulenbroeks wrote:
> 2011/5/18 Richard Purdie <richard.purdie@linuxfoundation.org>
>
> > On Wed, 2011-05-18 at 00:49 -0700, Khem Raj wrote:
> > > I think we need to globalize libc variable like MACHINE or MULTIMACHINE
> > > and we could check if PREFERRED_PROVIDER_virtual/libc == TCLIBC or not
> > > in base.bbclass for sanity. Something like attached patch might be
> > > able to do it
> >
> > Having assessed how many places in the system we'd need to make this
> > kind of change I'm now of the opinion its too great. I think
> > manipulating TMPDIR is a better cleaner solution and we should inject
> > this there...
> >
> >
> > Note that this introduces additional build time and space to rebuild
> native recipes for the different TMPDIR variants. Something which is not
> needed with the solution from Khem, if I properly understand things.
I mentioned this elsewhere in the thread but the sstate cache directory
is in TOPDIR, not TMPDIR so its shared between the builds. This means
the -native recipes should not need any additional build time. There is
some disk space usage but this should be minimal and disk space is
comparatively cheap anyway.
> From a conceptual point of view it seems better to mangle the target subdir
> name in work (e.g. ppce300c3-oe-linux-uclibc) or introduce a subdir in
> TMPDIR for (e.g. ppce300c3-oe-linux/uclibc )
This turns out to be quite nasty mangling as the deploy directories
don't include this and would need mangling in a certain style, the
sysroots need a different mangling and so does workdir, the cache
directories and so on. What these all have in common is they're in
TMPDIR and the native directories are pretty much the only thing we
don't mangle. The exceptions to the mangling seem to work out quite ugly
as in the cross case we have to "half-mangle" directories too.
> (actually I seem to recall that we have or had something in OE as
> well, something like deploy/glibc)
Some of it worked ok in OE, some of it didn't and the move to a sysroot
directory per machine was the straw that broke the camel's back so to
speak. We need to take a step back and consider what we're trying to
achieve from an overall architecture perspective and which solution
makes sense.
Cheers,
Richard
next prev parent reply other threads:[~2011-05-18 10:13 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-16 6:04 [PATCH 0/2] Adjust default distrovars Khem Raj
2011-05-16 6:04 ` [PATCH 1/2] default-distrovars.inc: Do not add DISTRO_EXTRA_RDEPENDS and DISTRO_EXTRA_RRECOMMENDS Khem Raj
2011-05-16 6:04 ` [PATCH 2/2] tclibc-uclibc.inc: Append -uclibc only to target recipes Khem Raj
2011-05-16 6:58 ` Koen Kooi
2011-05-16 9:55 ` Khem Raj
2011-05-16 11:41 ` Richard Purdie
2011-05-16 13:11 ` Koen Kooi
2011-05-16 13:50 ` Richard Purdie
2011-05-16 15:43 ` Koen Kooi
2011-05-17 0:13 ` Richard Purdie
2011-05-17 9:17 ` Phil Blundell
2011-05-17 9:34 ` Richard Purdie
2011-05-17 9:44 ` Phil Blundell
2011-05-17 14:31 ` Richard Purdie
2011-05-17 14:40 ` Phil Blundell
2011-05-18 5:36 ` Khem Raj
2011-05-18 5:49 ` Khem Raj
2011-05-18 7:49 ` Khem Raj
2011-05-18 7:57 ` Richard Purdie
2011-05-18 8:12 ` Khem Raj
2011-05-18 8:47 ` Koen Kooi
2011-05-18 9:55 ` Khem Raj
2011-05-18 8:48 ` Frans Meulenbroeks
2011-05-18 10:09 ` Richard Purdie [this message]
2011-05-20 1:10 ` [PATCH 0/2] Adjust default distrovars Saul Wold
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=1305713399.3424.306.camel@rex \
--to=richard.purdie@linuxfoundation.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