]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toolchain-script: use immediate expansion for TOOLCHAIN_CONFIGSITE_NOCACHE ChenQi/siteconfig
authorChen Qi <Qi.Chen@windriver.com>
Fri, 23 Sep 2016 06:17:57 +0000 (14:17 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Fri, 23 Sep 2016 06:19:21 +0000 (14:19 +0800)
commitb837a1b7714ef69601f5a12cbf5baf925dfb1a7b
tree913ba51b224b1e19b7803f91a03d26fd3fd67d34
parent7e0f95bf359bc3b5bb1578024a993e184de155cd
toolchain-script: use immediate expansion for TOOLCHAIN_CONFIGSITE_NOCACHE

Use immediate expansion for the assignment to avoid other classes modifying
variables like HOST_ARCH which changes the result. This happens in the
meta-environment recipe. It inherits cross-canadian which changes HOST_ARCH
from TARGET_ARCH to SDK_ARCH, resulting in wrong site config files in the
generated SDK.

[YOCTO #10255]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/classes/toolchain-scripts.bbclass