summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/siggen.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-12-08 00:08:04 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-17 18:25:06 +0000
commit1f3e313fd5cc5ae8ea838bf8fcdedace3cb72584 (patch)
tree625e1340f8bbbf9b2469e907f0e6ca27eb926b33 /bitbake/lib/bb/siggen.py
parent81f3d46fa5f16bfb8a0ee2e5569370337abe948c (diff)
downloadpoky-1f3e313fd5cc5ae8ea838bf8fcdedace3cb72584.tar.gz
bitbake Revert bitbake exec() and go back to fork() for performace wins (first draft)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r--bitbake/lib/bb/siggen.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 3eecd751b4..51983ca19a 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -55,8 +55,6 @@ class SignatureGeneratorBasic(SignatureGenerator):
55 else: 55 else:
56 self.twl = None 56 self.twl = None
57 57
58 self.dumpsigs = dumpsigs
59
60 def _build_data(self, fn, d): 58 def _build_data(self, fn, d):
61 59
62 taskdeps, gendeps = bb.data.generate_dependencies(d) 60 taskdeps, gendeps = bb.data.generate_dependencies(d)
@@ -82,10 +80,9 @@ class SignatureGeneratorBasic(SignatureGenerator):
82 self.basehash[fn + "." + task] = hashlib.md5(data).hexdigest() 80 self.basehash[fn + "." + task] = hashlib.md5(data).hexdigest()
83 #bb.note("Hash for %s is %s" % (task, tashhash[task])) 81 #bb.note("Hash for %s is %s" % (task, tashhash[task]))
84 82
85 if self.dumpsigs: 83 self.taskdeps[fn] = taskdeps
86 self.taskdeps[fn] = taskdeps 84 self.gendeps[fn] = gendeps
87 self.gendeps[fn] = gendeps 85 self.lookupcache[fn] = lookupcache
88 self.lookupcache[fn] = lookupcache
89 86
90 return taskdeps 87 return taskdeps
91 88