]> code.ossystems Code Review - openembedded-core.git/commitdiff
toolchain-scripts: Allow the CONFIGSITE_CACHE variable to be overridden
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Apr 2015 13:13:22 +0000 (14:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Apr 2015 14:47:13 +0000 (15:47 +0100)
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>
meta/classes/toolchain-scripts.bbclass

index d5b9675b7f6e8792e0a12581e4f6f04e8b76a9da..75464d1317dc96ebb60f229c67676e4ce4a07cf3 100644 (file)
@@ -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 () {