]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
multilib: fix SSTATE_ARCHS for multilib usage
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Sep 2023 17:05:31 +0000 (18:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Sep 2023 22:50:30 +0000 (23:50 +0100)
commit37126ffc7ccbd3df57ebbd8e581d158f03bb3b4c
tree6ecf06bce0aacafbd7bfbe96ade903c32ae6f4b3
parentca90379147cb75755d205670781d8922161e9317
multilib: fix SSTATE_ARCHS for multilib usage

When building multilibs, we need to inject the multilib sstate pkgarch
into SSTATE_ARCHS so the list forms a complete search path. Add a tweak
to do this.

PACKAGE_ARCH defaults to TUNE_PKGARCH so this is equivalent and just
guards against recipes changing the value which may have other unwanted
side effects.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/sstate.bbclass
meta/classes-recipe/image.bbclass
meta/classes/multilib.bbclass