[oe-commits] Richard Purdie : gcc-common: Exclude AVAILTUNES from sstate checksums

git at git.openembedded.org git at git.openembedded.org
Mon Mar 18 00:07:06 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 947acf8ba998a8b03059e8ccf8f1012c489e3014
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=947acf8ba998a8b03059e8ccf8f1012c489e3014

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Mar 18 00:01:22 2013 +0000

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 <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/gcc/gcc-common.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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





More information about the Openembedded-commits mailing list