[oe-commits] [openembedded-core] 16/26: sstatesig: Add recipe wildcard

git at git.openembedded.org git at git.openembedded.org
Tue Feb 27 23:44:27 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit f0e50b3bcfcb9596274c4804f6c4214121a78f27
Author: Joshua Watt <jpewhacker at gmail.com>
AuthorDate: Tue Feb 27 16:47:51 2018 -0600

    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 at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oe/sstatesig.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index ecb3ebc..beed45b 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list