lib/oe/sstatesig.py: Exclude git-native from sstate checksum

gcc exposed this issue where cross gcc recipes were not having
same task checksums as libgcc or gcc-runtime the target recipes
which use same shared workdir and it was triggering the unpack
fetch and patch tasks to reexecute and hence the trouble

Now that we have more than 1 package to consider lets combine
the check

Thanks RP for help and this is on the line of patch
793ce6cd9aa632e0f13789c8293770a86085d28d

(From OE-Core rev: 72cc3df204c4b838cc0358a7ac989adfdd5c1760)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2012-07-09 12:31:38 -07:00 committed by Richard Purdie
parent ccaef5c9a1
commit 4240bd6824
1 changed files with 2 additions and 4 deletions

View File

@ -17,10 +17,8 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache):
return True
# Quilt (patch application) changing isn't likely to affect anything
if depname == "quilt-native" and recipename != "quilt-native":
return False
# Subversion also isn't likely to affect anything
if depname == "subversion-native" and recipename != "subversion-native":
excludelist = ['quilt-native', 'subversion-native', 'git-native']
if depname in excludelist and recipename != depname:
return False
# Don't change native/cross/nativesdk recipe dependencies any further