]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
sstate: Fix nativesdk entry in SSTATE_ARCHS
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Sep 2023 13:47:29 +0000 (14:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Sep 2023 22:50:30 +0000 (23:50 +0100)
PACKAGE_ARCH gets refined by each target so this value isn't valid in all contexts.
Tweak to use underlying variables to build it so that it remains valid in wider
contexts and works with new usage in sdpx and license classes.

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

index c50198449c24ce4e50e27947f9601cef8945904b..275917ed7f79046d0004d0a5a346ac6343dd7251 100644 (file)
@@ -90,7 +90,7 @@ SSTATE_ARCHS = " \
     ${BUILD_ARCH}_${ORIGNATIVELSBSTRING} \
     ${BUILD_ARCH}_${SDK_ARCH}_${SDK_OS} \
     ${SDK_ARCH}_${SDK_OS} \
-    ${SDK_ARCH}_${PACKAGE_ARCH} \
+    ${SDK_ARCH}_${SDK_ARCH}-${SDKPKGSUFFIX} \
     allarch \
     ${PACKAGE_ARCH} \
     ${PACKAGE_EXTRA_ARCHS} \