Skip to contentSkip to conversation

meta-environment: ensure corret TOOLCHAIN_CONFIGSITE_NOCACHE value

PATCH New Chen Qi 1 participant 2 messages Sep 26, 2016

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover meta-environment: ensure corret TOOLCHAIN_CONFIGSITE_NOCACHE value

The following changes since commit ae5073c4abd8935c01d14d3e6395124f815bd10b:

arch-mips: Add mips64-o32 tunes (2016-09-23 18:06:10 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib ChenQi/meta-environment
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/meta-environment

Chen Qi (1):
meta-environment: ensure corret TOOLCHAIN_CONFIGSITE_NOCACHE value

 meta/recipes-core/meta/meta-environment.bb | 2 ++
 1 file changed, 2 insertions(+)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 meta-environment: ensure corret TOOLCHAIN_CONFIGSITE_NOCACHE value

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]

---
 meta/recipes-core/meta/meta-environment.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/meta/meta-environment.bb +2 -0
index 49d45f6..d9e045f 100644
@@ -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"
Signature · 1 line
1.9.1