[OE-core] Multilib Development Update

Richard Purdie richard.purdie at linuxfoundation.org
Tue Jun 21 13:31:23 UTC 2011


On Tue, 2011-06-21 at 14:28 +0200, Koen Kooi wrote:
> Op 21 jun 2011, om 14:14 heeft Richard Purdie het volgende geschreven:
> 
> > We've been experimenting with multilib and I now feel it right to
> > discuss the changes a bit further now there is something to discuss :).
> > The work so far on this is available on the branch:
> > 
> > http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=rpurdie/ml
> > 
> > There have been a few issues and some lessons to learn. I've also have
> > to make some implementation decisions based on the issues we were
> > running into. To summarise them:
> 
> [..]
> 
> > g) I set the TARGET_VENDOR to the horrendously ugly string
> > "-pokymllib32". The reason is that any "-" characters in there breaks
> > config.sub at present and other separators cause other issues. I suspect
> > we can fix that going forward but for now it works albeit looking
> > horrible.
> 
> Angstrom has had some problems with that as well and I think DISTROs
> shouldn't poke TARGET_VENDOR directly, but do something like:
> 
> bitbake.conf:
> 
> # No hyphens!
> DISTROVENDOR ??= "oecore"
> TARGET_VENDOR = "-${DISTROVENDOR}"
> 
> DISTRO.conf:
> 
> # No hyphens!
> DISTROVENDOR = "foo"

Agreed, I think we're going to need to do something like this.

Cheers,

Richard





More information about the Openembedded-core mailing list