Openembedded Core Discussions
 help / color / mirror / Atom feed
* Use of multilib.conf taints hashes of -native recipes
@ 2019-12-12 16:05 Mike Crowe
  2019-12-12 17:28 ` Khem Raj
  2019-12-12 18:17 ` Richard Purdie
  0 siblings, 2 replies; 4+ messages in thread
From: Mike Crowe @ 2019-12-12 16:05 UTC (permalink / raw)
  To: Openembedded-core@lists.openembedded.org

We compile for a variety of machines, some of which require multilib.conf
and some that do not. I was surprised to discover when switching between
machines that the do_populate_sysroot_setscene tasks run for many -native
recipe. :(

It looks like this is because RECIPE_SYSROOT changes:

 Variable RECIPE_SYSROOT value changed from '${WORKDIR}/recipe-sysroot' to '${WORKDIR}/${MLPREFIX}recipe-sysroot'

This problem goes away if I add the following line to native.bbclass:

 RECIPE_SYSROOT = "${WORKDIR}/recipe-sysroot"

but this feels like I'm solving the problem in the wrong place. Would it be
better to modify multilib.conf to say something like:

 RECIPE_SYSROOT_class-target = "${WORKDIR}/${MLPREFIX}recipe-sysroot"

instead? (Although I'm rather worried that this will stop it actually
working.)

Thanks.

Mike.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-12 20:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-12 16:05 Use of multilib.conf taints hashes of -native recipes Mike Crowe
2019-12-12 17:28 ` Khem Raj
2019-12-12 18:17 ` Richard Purdie
2019-12-12 20:07   ` Mike Crowe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox