summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-02-23 17:00:36 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-24 17:41:42 +0000
commit91a9b3f114e379ffb45287593307282e8bc1b0a6 (patch)
tree90ec0af9c04a84571ad89dffa95d3274358fef49 /meta/lib
parent67c1d2eeb7384abb307805a088eb63341ef09af1 (diff)
downloadpoky-91a9b3f114e379ffb45287593307282e8bc1b0a6.tar.gz
sstatesig: Add ability to filter list of tasks for locked-sigs.inc
(From OE-Core rev: ed4287a60b33cb597eb7fa13b3855a528315b3b0) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/sstatesig.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index af7617ee61..62e75c25ca 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -137,13 +137,16 @@ class SignatureGeneratorOEBasicHash(bb.siggen.SignatureGeneratorBasicHash):
137 return 137 return
138 super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigtask(fn, task, stampbase, runtime) 138 super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigtask(fn, task, stampbase, runtime)
139 139
140 def dump_lockedsigs(self, sigfile=None): 140 def dump_lockedsigs(self, sigfile=None, taskfilter=None):
141 if not sigfile: 141 if not sigfile:
142 sigfile = os.getcwd() + "/locked-sigs.inc" 142 sigfile = os.getcwd() + "/locked-sigs.inc"
143 143
144 bb.plain("Writing locked sigs to %s" % sigfile) 144 bb.plain("Writing locked sigs to %s" % sigfile)
145 types = {} 145 types = {}
146 for k in self.runtaskdeps: 146 for k in self.runtaskdeps:
147 if taskfilter:
148 if not k in taskfilter:
149 continue
147 fn = k.rsplit(".",1)[0] 150 fn = k.rsplit(".",1)[0]
148 t = self.lockedhashfn[fn].split(" ")[1].split(":")[5] 151 t = self.lockedhashfn[fn].split(" ")[1].split(":")[5]
149 t = 't-' + t.replace('_', '-') 152 t = 't-' + t.replace('_', '-')