diff options
-rw-r--r-- | bitbake/lib/bb/siggen.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index eaef4a85ae..8c79b178fb 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py | |||
@@ -223,7 +223,11 @@ class SignatureGeneratorBasicHash(SignatureGeneratorBasic): | |||
223 | k = fn + "." + taskname[:-9] | 223 | k = fn + "." + taskname[:-9] |
224 | else: | 224 | else: |
225 | k = fn + "." + taskname | 225 | k = fn + "." + taskname |
226 | h = self.taskhash[k] | 226 | if k in self.taskhash: |
227 | h = self.taskhash[k] | ||
228 | else: | ||
229 | # If k is not in basehash, then error | ||
230 | h = self.basehash[k] | ||
227 | return ("%s.%s.%s.%s" % (stampbase, taskname, h, extrainfo)).rstrip('.') | 231 | return ("%s.%s.%s.%s" % (stampbase, taskname, h, extrainfo)).rstrip('.') |
228 | 232 | ||
229 | def dump_this_task(outfile, d): | 233 | def dump_this_task(outfile, d): |