aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2016-09-26 10:52:51 +0800
committerChen Qi <Qi.Chen@windriver.com>2016-09-26 11:16:44 +0800
commit0bf4b474fa83d4485afa8aaaff4166ebf88c628d (patch)
tree611990e071fd839a56974e81b3534c6c7765d10f
parentae5073c4abd8935c01d14d3e6395124f815bd10b (diff)
downloadopenembedded-core-contrib-ChenQi/meta-environment.tar.gz
meta-environment: ensure corret TOOLCHAIN_CONFIGSITE_NOCACHE valueChenQi/meta-environment
Expand TOOLCHAIN_CONFIGSITE_NOCACHE value immediately before inheriting cross-canadian to avoid HOST_ARCH being changed from TARGET_ARCH to SDK_ARCH, thus ensuring its correct value. [YOCTO #10255] Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-rw-r--r--meta/recipes-core/meta/meta-environment.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/meta-environment.bb b/meta/recipes-core/meta/meta-environment.bb
index 49d45f6ec4..d9e045f041 100644
--- a/meta/recipes-core/meta/meta-environment.bb
+++ b/meta/recipes-core/meta/meta-environment.bb
@@ -12,6 +12,8 @@ REAL_MULTIMACH_TARGET_SYS = "${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}"
inherit toolchain-scripts
TOOLCHAIN_NEED_CONFIGSITE_CACHE_append = " zlib"
+# Need to expand here before cross-candian changes HOST_ARCH -> SDK_ARCH
+TOOLCHAIN_CONFIGSITE_NOCACHE := "${TOOLCHAIN_CONFIGSITE_NOCACHE}"
SDK_DIR = "${WORKDIR}/sdk"
SDK_OUTPUT = "${SDK_DIR}/image"