summaryrefslogtreecommitdiff
path: root/meta/classes/toolchain-scripts.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-15 14:13:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-15 14:29:54 +0100
commitcfc43743b0e41cf168cad9cbd4e9d870b8f01f03 (patch)
treeda07b455cbb948aa89341a75ac9818de20d19851 /meta/classes/toolchain-scripts.bbclass
parentf672fae1b1647f7a628ba9ba92fd4fab81d91546 (diff)
downloadopenembedded-core-cfc43743b0e41cf168cad9cbd4e9d870b8f01f03.tar.gz
openembedded-core-cfc43743b0e41cf168cad9cbd4e9d870b8f01f03.tar.bz2
openembedded-core-cfc43743b0e41cf168cad9cbd4e9d870b8f01f03.zip
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@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-rw-r--r--meta/classes/toolchain-scripts.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index ea6aff0780..670e93b1de 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -98,7 +98,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 () {