From 95c187e54e2d2d134c1f9a4b97a400c961bc9bba Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 8 Dec 2023 11:15:19 +0100 Subject: 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). (From OE-Core rev: 29775b5ecfc8d811293962f050fcfc3b3ad7efde) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- meta/lib/oe/sstatesig.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/lib/oe') diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index e250f51c12..8a97fb0c04 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) -- cgit v1.2.3-54-g00ecf