diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2018-02-27 16:47:51 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-01 22:09:16 +0000 |
commit | 526855f6573317ced913f39e878beac1d5d294de (patch) | |
tree | 475a96ead05c0b6d1fa26546637665a4b0b0a22e /meta/lib/oe | |
parent | 6dddf0151d486c474cbf522ced8c5ad96ae290fd (diff) | |
download | openembedded-core-contrib-526855f6573317ced913f39e878beac1d5d294de.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.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/sstatesig.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index ecb3ebc4c88..beed45b74fd 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 |