]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-common: Exclude AVAILTUNES from sstate checksums
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Mar 2013 00:01:22 +0000 (00:01 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Mar 2013 13:10:06 +0000 (13:10 +0000)
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>
meta/recipes-devtools/gcc/gcc-common.inc

index 6b61800a3ed33b7ecb9ae578b7c255b62a3c4711..d20be9f8ffd185bfbc1a4d01ef037f08cc8d60e6 100644 (file)
@@ -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"