[oe] [meta-initramfs][PATCH] klcc_cross: move in target sysroot as crosscript

Richard Purdie richard.purdie at linuxfoundation.org
Fri May 2 08:38:10 UTC 2014


On Fri, 2014-05-02 at 10:34 +0200, Andrea Adami wrote:
> I probably misunderstand that part.
> 
> I could not see any difference in the produced klcc.cross scripts with
> or without the mangling.
> Tested runtime on 3 machines.
> What I did not yet try is a rebuild from sstate but I expect it to be rebuilt.

The easy way to reproduce a problem is to build for MACHINE=A and then
build for MACHINE=B where the two machines have the same architecture.
You will find that whilst it will switch the commented line at the top
to refer to the new machine, the encoded lines do not get changed.

You would also find that if you run a build in dirA, then a build in
dirB using the sstate cache from dirA, the paths would reference dirA,
not dirB. After this change they will reference dirB.

Cheers,

Richard




More information about the Openembedded-devel mailing list