Skip to content

Commit 29775b5

Browse files
kanavinrpurdie
authored andcommitted
sstatesig/find_siginfo: special-case gcc-source when looking in sstate caches
This is already done for local stamps just above, and will allow enabling the full selftest that compares gcc-source signatures via printdiff (that is, both local stamp and sstate variants). Signed-off-by: Alexander Kanavin <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
1 parent 92e33a1 commit 29775b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

meta/lib/oe/sstatesig.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,9 @@ def get_hashval(siginfo):
398398
localdata.setVar('TARGET_VENDOR', '*')
399399
localdata.setVar('TARGET_OS', '*')
400400
localdata.setVar('PN', pn)
401+
# gcc-source is a special case, same as with local stamps above
402+
if pn.startswith("gcc-source"):
403+
localdata.setVar('PN', "gcc")
401404
localdata.setVar('PV', '*')
402405
localdata.setVar('PR', '*')
403406
localdata.setVar('BB_TASKHASH', hashval)

0 commit comments

Comments
 (0)