Patchwork gcc-common: Exclude AVAILTUNES from sstate checksums

login
register
mail settings
Submitter Richard Purdie
Date March 18, 2013, 12:01 a.m.
Message ID <1363564882.4315.21.camel@ted>
Download mbox | patch
Permalink /patch/46311/
State Accepted
Commit 9bfd92243eced921f166d84b5a72d6f774e13413
Headers show

Comments

Richard Purdie - March 18, 2013, 12:01 a.m.
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 <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
index 6b61800..a32646f 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"