diff options
-rw-r--r-- | meta/lib/oe/sstatesig.py | 5 |
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('_', '-') |