summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/siggen.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 7d7a203b83..4dc09b3f9e 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -178,6 +178,17 @@ class SignatureGeneratorBasic(SignatureGenerator):
178 bb.error("The mismatched hashes were %s and %s" % (dataCache.basetaskhash[k], self.basehash[k])) 178 bb.error("The mismatched hashes were %s and %s" % (dataCache.basetaskhash[k], self.basehash[k]))
179 self.dump_sigtask(fn, task, dataCache.stamp[fn], True) 179 self.dump_sigtask(fn, task, dataCache.stamp[fn], True)
180 180
181class SignatureGeneratorBasicHash(SignatureGeneratorBasic):
182 name = "basichash"
183
184 def stampfile(self, stampbase, fn, taskname):
185 if taskname != "do_setscene" and taskname.endswith("_setscene"):
186 k = fn + "." + taskname[:-9]
187 else:
188 k = fn + "." + taskname
189 h = self.taskhash[k]
190 return "%s.%s.%s" % (stampbase, taskname, h)
191
181def dump_this_task(outfile, d): 192def dump_this_task(outfile, d):
182 fn = d.getVar("BB_FILENAME", True) 193 fn = d.getVar("BB_FILENAME", True)
183 task = "do_" + d.getVar("BB_CURRENTTASK", True) 194 task = "do_" + d.getVar("BB_CURRENTTASK", True)