[OE-core] [PATCH] native.bbclass: Ensure native recipes have a deterministic baselib value

Richard Purdie richard.purdie at linuxfoundation.org
Thu Oct 6 21:47:49 UTC 2011


On Thu, 2011-10-06 at 09:47 -0500, Mark Hatle wrote:
> On 10/6/11 9:20 AM, Richard Purdie wrote:
> > Changes to baselib by specific machine configuration were resulting
> > in sstate cache invalidation, particularly in multilib configurations.
> > 
> > This patch ensures this doesn't happen and native sstate cache files
> > are reusable.
> 
> Likely throwing in a can of worms here, but for our existing (non-OE based)
> work, we generally change the baselib to "lib64" on 64-bit machines.  Without
> patching native.bbclass, is it possible to do that?

Yes, you could set this based on the build system architecture no
problem at all.

The reason for this change is to have a single value for native packages
which doesn't change based on MACHINE. That doesn't stop you changing it
based on something specific the native binaries themselves.

The native sysroots are different depending on the build system
architecture anyway so this actually might be a non-issue for you
anyway.

Cheers,

Richard





More information about the Openembedded-core mailing list