diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/siggen.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index 5c53a86f3a..9e956ee91f 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py | |||
@@ -106,7 +106,7 @@ class SignatureGeneratorBasic(SignatureGenerator): | |||
106 | def get_taskhash(self, fn, task, deps, dataCache): | 106 | def get_taskhash(self, fn, task, deps, dataCache): |
107 | k = fn + "." + task | 107 | k = fn + "." + task |
108 | data = dataCache.basetaskhash[k] | 108 | data = dataCache.basetaskhash[k] |
109 | self.runtaskdeps[k] = deps | 109 | self.runtaskdeps[k] = [] |
110 | for dep in sorted(deps): | 110 | for dep in sorted(deps): |
111 | if self.twl and self.twl.search(dataCache.pkg_fn[fn]): | 111 | if self.twl and self.twl.search(dataCache.pkg_fn[fn]): |
112 | #bb.note("Skipping %s" % dep) | 112 | #bb.note("Skipping %s" % dep) |
@@ -114,6 +114,7 @@ class SignatureGeneratorBasic(SignatureGenerator): | |||
114 | if dep not in self.taskhash: | 114 | if dep not in self.taskhash: |
115 | bb.fatal("%s is not in taskhash, caller isn't calling in dependency order?", dep) | 115 | bb.fatal("%s is not in taskhash, caller isn't calling in dependency order?", dep) |
116 | data = data + self.taskhash[dep] | 116 | data = data + self.taskhash[dep] |
117 | self.runtaskdeps[k].append(dep) | ||
117 | h = hashlib.md5(data).hexdigest() | 118 | h = hashlib.md5(data).hexdigest() |
118 | self.taskhash[k] = h | 119 | self.taskhash[k] = h |
119 | #d.setVar("BB_TASKHASH_task-%s" % task, taskhash[task]) | 120 | #d.setVar("BB_TASKHASH_task-%s" % task, taskhash[task]) |
@@ -258,8 +259,3 @@ def dump_sigfile(a): | |||
258 | if 'runtaskhashes' in a_data: | 259 | if 'runtaskhashes' in a_data: |
259 | for dep in a_data['runtaskhashes']: | 260 | for dep in a_data['runtaskhashes']: |
260 | print "Hash for dependent task %s is %s" % (dep, a_data['runtaskhashes'][dep]) | 261 | print "Hash for dependent task %s is %s" % (dep, a_data['runtaskhashes'][dep]) |
261 | |||
262 | |||
263 | |||
264 | |||
265 | |||