]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
sstatesig/find_siginfo: special-case gcc-source when looking in sstate caches
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 8 Dec 2023 10:15:19 +0000 (11:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 9 Dec 2023 10:23:50 +0000 (10:23 +0000)
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 <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py

index e250f51c1248f4d811cf0c6d837c343f0f7f7f55..8a97fb0c04b378e73a75782bc10cf9a6b9dee95b 100644 (file)
@@ -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)