diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2016-09-26 11:20:28 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-26 10:05:53 +0100 |
commit | 1e13d1fd22186af5544e7248dc12635cd2f2e08b (patch) | |
tree | 611990e071fd839a56974e81b3534c6c7765d10f /meta | |
parent | ae5073c4abd8935c01d14d3e6395124f815bd10b (diff) | |
download | openembedded-core-1e13d1fd22186af5544e7248dc12635cd2f2e08b.tar.gz openembedded-core-1e13d1fd22186af5544e7248dc12635cd2f2e08b.tar.bz2 openembedded-core-1e13d1fd22186af5544e7248dc12635cd2f2e08b.zip |
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]
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/meta/meta-environment.bb | 2 |
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" |