meta-environment: Ensure we append to the default TOOLCHAIN_NEED_CONFIGSITE_CACHE
PATCH 1/1 meta-environment: Ensure we append to the default TOOLCHAIN_NEED_CONFIGSITE_CACHE
The toolchain-scripts class was changed to assign to the variable using ??= which allows users to override it. We therefore need to _append instead of += to have the change take effect as intended.
Signed-off-by Richard Purdie <[email protected]>
meta/recipes-core/meta/meta-environment.bb +1 -1
@@ -11,7 +11,7 @@ MODIFYTOS = "0" REAL_MULTIMACH_TARGET_SYS = "${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" inherit toolchain-scripts -TOOLCHAIN_NEED_CONFIGSITE_CACHE += "zlib" +TOOLCHAIN_NEED_CONFIGSITE_CACHE_append = " zlib" SDK_DIR = "${WORKDIR}/sdk" SDK_OUTPUT = "${SDK_DIR}/image"