]> code.ossystems Code Review - openembedded-core.git/commitdiff
meta-environment: Ensure we append to the default TOOLCHAIN_NEED_CONFIGSITE_CACHE
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Jun 2015 10:25:12 +0000 (11:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Jun 2015 15:06:29 +0000 (16:06 +0100)
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@linuxfoundation.org>
meta/recipes-core/meta/meta-environment.bb

index 5d72e38e917a8d34e50f54ff8c257f08de93ac96..49d45f6ec476086e80d40caf509b3599a871c6e8 100644 (file)
@@ -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"