From: Alexander Kanavin Date: Fri, 8 Dec 2023 10:15:19 +0000 (+0100) Subject: sstatesig/find_siginfo: special-case gcc-source when looking in sstate caches X-Git-Tag: uninative-4.4~784 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29775b5ecfc8d811293962f050fcfc3b3ad7efde;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index e250f51c124..8a97fb0c04b 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py @@ -398,6 +398,9 @@ def find_siginfo(pn, taskname, taskhashlist, d): localdata.setVar('TARGET_VENDOR', '*') localdata.setVar('TARGET_OS', '*') localdata.setVar('PN', pn) + # gcc-source is a special case, same as with local stamps above + if pn.startswith("gcc-source"): + localdata.setVar('PN', "gcc") localdata.setVar('PV', '*') localdata.setVar('PR', '*') localdata.setVar('BB_TASKHASH', hashval)