From: Richard Purdie Date: Tue, 19 Sep 2023 13:47:29 +0000 (+0100) Subject: sstate: Fix nativesdk entry in SSTATE_ARCHS X-Git-Tag: yocto-4.3~271 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca90379147cb75755d205670781d8922161e9317;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git sstate: Fix nativesdk entry in SSTATE_ARCHS 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 --- diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index c50198449c2..275917ed7f7 100644 --- a/meta/classes-global/sstate.bbclass +++ b/meta/classes-global/sstate.bbclass @@ -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} \