From: Joshua Watt Date: Tue, 27 Feb 2018 22:47:51 +0000 (-0600) Subject: sstatesig: Add recipe wildcard X-Git-Tag: uninative-1.8~240 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=526855f6573317ced913f39e878beac1d5d294de;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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