[OE-core] Multilib Development Update

Koen Kooi koen at dominion.thruhere.net
Tue Jun 21 12:28:19 UTC 2011


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"

regards,

Koen



More information about the Openembedded-core mailing list