mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
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>
This commit is contained in:
parent
67c1d2eeb7
commit
91a9b3f114
|
@ -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('_', '-')
|
||||
|
|
Loading…
Reference in New Issue
Block a user