[oe-commits] Richard Purdie : toolchain-scripts: Allow the CONFIGSITE_CACHE variable to be overridden
git at git.openembedded.org
git at git.openembedded.org
Wed Apr 15 14:58:27 UTC 2015
Module: openembedded-core.git
Branch: dizzy
Commit: 816a62af5181e940f4b5e5f35f6775499fad94eb
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=816a62af5181e940f4b5e5f35f6775499fad94eb
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Wed Apr 15 14:13:22 2015 +0100
toolchain-scripts: Allow the CONFIGSITE_CACHE variable to be overridden
In multilib and baremetal configurations, this variable can cause a variety of
problems due to the use of TCLIBC. At least allowing it to be overriden
is a start and allows various configurations to avoid the issue.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/toolchain-scripts.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index d5b9675..75464d1 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -93,7 +93,7 @@ EOF
#we get the cached site config in the runtime
TOOLCHAIN_CONFIGSITE_NOCACHE = "${@siteinfo_get_files(d, True)}"
TOOLCHAIN_CONFIGSITE_SYSROOTCACHE = "${STAGING_DIR}/${MLPREFIX}${MACHINE}/${target_datadir}/${TARGET_SYS}_config_site.d"
-TOOLCHAIN_NEED_CONFIGSITE_CACHE = "${TCLIBC} ncurses"
+TOOLCHAIN_NEED_CONFIGSITE_CACHE ??= "${TCLIBC} ncurses"
#This function create a site config file
toolchain_create_sdk_siteconfig () {
More information about the Openembedded-commits
mailing list