summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-06-24 00:07:04 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-08 09:57:23 +0100
commitaf4d7258b1b9e77fd9ea4857559e3b20f9a9e3cf (patch)
tree058f547087c7445da265f665ded042c329eba0bc /meta
parentff41cfb5086b429aeea720e380fbe8b930d107c0 (diff)
downloadpoky-af4d7258b1b9e77fd9ea4857559e3b20f9a9e3cf.tar.gz
lib/oe/sstatesig: print locked sigs file message only when explicitly called
If we're building the extensible SDK we don't need to see the "Writing locked sigs" message; it's only necessary when the user explicitly runs bitbake -S none <target>. (From OE-Core rev: 440a351ee13920045c9d3e51882908f7b3f01d35) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/sstatesig.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index a58f03a342..8224e3a12e 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -130,7 +130,9 @@ class SignatureGeneratorOEBasicHash(bb.siggen.SignatureGeneratorBasicHash):
130 super(bb.siggen.SignatureGeneratorBasicHash, self).set_taskdata(coredata) 130 super(bb.siggen.SignatureGeneratorBasicHash, self).set_taskdata(coredata)
131 131
132 def dump_sigs(self, dataCache, options): 132 def dump_sigs(self, dataCache, options):
133 self.dump_lockedsigs() 133 sigfile = os.getcwd() + "/locked-sigs.inc"
134 bb.plain("Writing locked sigs to %s" % sigfile)
135 self.dump_lockedsigs(sigfile)
134 return super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigs(dataCache, options) 136 return super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigs(dataCache, options)
135 137
136 def get_taskhash(self, fn, task, deps, dataCache): 138 def get_taskhash(self, fn, task, deps, dataCache):
@@ -181,11 +183,7 @@ class SignatureGeneratorOEBasicHash(bb.siggen.SignatureGeneratorBasicHash):
181 return 183 return
182 super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigtask(fn, task, stampbase, runtime) 184 super(bb.siggen.SignatureGeneratorBasicHash, self).dump_sigtask(fn, task, stampbase, runtime)
183 185
184 def dump_lockedsigs(self, sigfile=None, taskfilter=None): 186 def dump_lockedsigs(self, sigfile, taskfilter=None):
185 if not sigfile:
186 sigfile = os.getcwd() + "/locked-sigs.inc"
187
188 bb.plain("Writing locked sigs to %s" % sigfile)
189 types = {} 187 types = {}
190 for k in self.runtaskdeps: 188 for k in self.runtaskdeps:
191 if taskfilter: 189 if taskfilter: