summaryrefslogtreecommitdiffstats
path: root/meta/lib
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:13:56 +0000
commitc3582d36697cd6bdf2749ea7c8335a45160a279a (patch)
tree71c26d66f4cd0b4a0ac5809324f8566f99f42a02 /meta/lib
parent3b0bb3b5a4031e3647e6a65da3bb027cbab3aa30 (diff)
downloadpoky-c3582d36697cd6bdf2749ea7c8335a45160a279a.tar.gz
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. (From OE-Core rev: 526855f6573317ced913f39e878beac1d5d294de) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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):
38 if "%s->%s" % (recipename, depname) in siggen.saferecipedeps: 38 if "%s->%s" % (recipename, depname) in siggen.saferecipedeps:
39 return False 39 return False
40 40
41 # Check for special wildcard
42 if "*->%s" % depname in siggen.saferecipedeps and recipename != depname:
43 return False
44
41 # Don't change native/cross/nativesdk recipe dependencies any further 45 # Don't change native/cross/nativesdk recipe dependencies any further
42 if isNative(recipename) or isCross(recipename) or isNativeSDK(recipename): 46 if isNative(recipename) or isCross(recipename) or isNativeSDK(recipename):
43 return True 47 return True