[OE-core] [PATCH] meta-environment: Ensure we append to the default TOOLCHAIN_NEED_CONFIGSITE_CACHE

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jun 19 10:25:12 UTC 2015


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 <richard.purdie at linuxfoundation.org>

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





More information about the Openembedded-core mailing list