[oe-commits] Paul Eggleton : sstatesig: Add ability to filter list of tasks for locked-sigs.inc
git at git.openembedded.org
git at git.openembedded.org
Tue Feb 24 17:42:50 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: ed4287a60b33cb597eb7fa13b3855a528315b3b0
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ed4287a60b33cb597eb7fa13b3855a528315b3b0
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date: Mon Feb 23 17:00:36 2015 +0000
sstatesig: Add ability to filter list of tasks for locked-sigs.inc
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oe/sstatesig.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index af7617e..62e75c2 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -137,13 +137,16 @@ class SignatureGeneratorOEBasicHash(bb.siggen.SignatureGeneratorBasicHash):
return
super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigtask(fn, task, stampbase, runtime)
- def dump_lockedsigs(self, sigfile=None):
+ def dump_lockedsigs(self, sigfile=None, taskfilter=None):
if not sigfile:
sigfile = os.getcwd() + "/locked-sigs.inc"
bb.plain("Writing locked sigs to %s" % sigfile)
types = {}
for k in self.runtaskdeps:
+ if taskfilter:
+ if not k in taskfilter:
+ continue
fn = k.rsplit(".",1)[0]
t = self.lockedhashfn[fn].split(" ")[1].split(":")[5]
t = 't-' + t.replace('_', '-')
More information about the Openembedded-commits
mailing list