Skip to contentSkip to conversation

meta-environment: Ensure we append to the default TOOLCHAIN_NEED_CONFIGSITE_CACHE

PATCH New Richard Purdie 1 participant 1 message Jun 19, 2015

lore
Share & tools
lore
#0 lore raw

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.

meta/recipes-core/meta/meta-environment.bb +1 -1
index 5d72e38..49d45f6 100644
@@ -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"