aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2018-02-27 16:47:51 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-01 22:09:16 +0000
commit526855f6573317ced913f39e878beac1d5d294de (patch)
tree475a96ead05c0b6d1fa26546637665a4b0b0a22e
parent6dddf0151d486c474cbf522ced8c5ad96ae290fd (diff)
downloadopenembedded-core-contrib-526855f6573317ced913f39e878beac1d5d294de.tar.gz
openembedded-core-contrib-526855f6573317ced913f39e878beac1d5d294de.tar.bz2
openembedded-core-contrib-526855f6573317ced913f39e878beac1d5d294de.zip
sstatesig: Add recipe wildcard
The special string "*" on the left hand side of the dependency specification matches all recipes except the one on the right hand side. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/sstatesig.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index ecb3ebc4c8..beed45b74f 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -38,6 +38,10 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache):
if "%s->%s" % (recipename, depname) in siggen.saferecipedeps:
return False
+ # Check for special wildcard
+ if "*->%s" % depname in siggen.saferecipedeps and recipename != depname:
+ return False
+
# Don't change native/cross/nativesdk recipe dependencies any further
if isNative(recipename) or isCross(recipename) or isNativeSDK(recipename):
return True