[OE-core] [PATCH v3 3/8] -cross recipes: ignore TARGET_ARCH sstate hash

Richard Purdie richard.purdie at linuxfoundation.org
Tue Apr 11 18:25:53 UTC 2017


I'd tweak the subject line to recipes/*-cross:

On Tue, 2017-04-11 at 16:56 +0200, Patrick Ohly wrote:
> "yocto-compat-layer.py --machines" showed that shared packages like
> gcc-cross-powerpc64 have a sstate signature that depends on
> TUNEFLAGS. As a result, there are unnecessary rebuilds and potential
> conflicts in a multiconfig.
> 
> That's due to the way how TARGET_ARCH is set. Richard Purdie
> suggested
> setting TARGET_ARCH[vardepvalue] as fix, which works. It would be
> shorter to do that in cross.inc instead of repeating the relevant
> line
> in different recipes, but Richard was concerned about potential
> side-effects in other usages of cross.inc.

s/cross.inc/cross.bbclass/g

Cheers,

Richard



More information about the Openembedded-core mailing list