summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/siggen.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index ba149402bf..50e4558611 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -98,6 +98,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
98 bb.error("Task %s from %s seems to be empty?!" % (task, fn)) 98 bb.error("Task %s from %s seems to be empty?!" % (task, fn))
99 data = '' 99 data = ''
100 100
101 gendeps[task] -= self.basewhitelist
101 newdeps = gendeps[task] 102 newdeps = gendeps[task]
102 seen = set() 103 seen = set()
103 while newdeps: 104 while newdeps:
@@ -107,12 +108,12 @@ class SignatureGeneratorBasic(SignatureGenerator):
107 for dep in nextdeps: 108 for dep in nextdeps:
108 if dep in self.basewhitelist: 109 if dep in self.basewhitelist:
109 continue 110 continue
111 gendeps[dep] -= self.basewhitelist
110 newdeps |= gendeps[dep] 112 newdeps |= gendeps[dep]
111 newdeps -= seen 113 newdeps -= seen
112 114
113 alldeps = seen - self.basewhitelist 115 alldeps = sorted(seen)
114 116 for dep in alldeps:
115 for dep in sorted(alldeps):
116 data = data + dep 117 data = data + dep
117 if dep in lookupcache: 118 if dep in lookupcache:
118 var = lookupcache[dep] 119 var = lookupcache[dep]
@@ -126,7 +127,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
126 if var: 127 if var:
127 data = data + str(var) 128 data = data + str(var)
128 self.basehash[fn + "." + task] = hashlib.md5(data).hexdigest() 129 self.basehash[fn + "." + task] = hashlib.md5(data).hexdigest()
129 taskdeps[task] = sorted(alldeps) 130 taskdeps[task] = alldeps
130 131
131 self.taskdeps[fn] = taskdeps 132 self.taskdeps[fn] = taskdeps
132 self.gendeps[fn] = gendeps 133 self.gendeps[fn] = gendeps