From: Richard Purdie Date: Mon, 18 Mar 2013 00:01:22 +0000 (+0000) Subject: gcc-common: Exclude AVAILTUNES from sstate checksums X-Git-Tag: yocto-4.0~33602 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b1cc5a4055c6402595eac1a93eac4c946210d130;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gcc-common: Exclude AVAILTUNES from sstate checksums AVAILTUNES is only used as a sanity check, we don't need to include it in the sstate checksum in this case. If included it can cause problems when switching machines with a common package architecture. [YOCTO #3667] Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 6b61800a3ed..d20be9f8ffd 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc @@ -58,6 +58,8 @@ def get_tune_parameters(tune, d): retdict['package_extra_archs'] = localdata.getVar('PACKAGE_EXTRA_ARCHS', True) return retdict +get_tune_parameters[vardepsexclude] = "AVAILTUNES" + # We really need HOST_SYS here for some packages and TARGET_SYS for others. # For now, libgcc is most important so we fix for that - RP. SHLIBSDIR = "${STAGING_DIR_TARGET}/shlibs"