Skip to contentSkip to conversation

gcc-common: Exclude AVAILTUNES from sstate checksums

PATCH Richard Purdie 1 participant 1 message Mar 18, 2013

lore
Share & tools
lore
#0 lore raw

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]

---

meta/recipes-devtools/gcc/gcc-common.inc +2 -0
index 6b61800..a32646f 100644
@@ -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"