summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib/bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-07-29 14:09:12 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-07-29 14:09:12 +0100
commit47fb695aedc40ce30e10d06829a68c5727352246 (patch)
tree57914db24e01edcea09c3a34393c8e49a82f51c6 /bitbake-dev/lib/bb
parenta6d608eb19e9b2ad2a75efe9b99a4d9c2940fc9b (diff)
downloadpoky-47fb695aedc40ce30e10d06829a68c5727352246.tar.gz
bitbake runqueue: Add a minor speedup to the runqueue code
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake-dev/lib/bb')
-rw-r--r--bitbake-dev/lib/bb/runqueue.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake-dev/lib/bb/runqueue.py b/bitbake-dev/lib/bb/runqueue.py
index 734f07d4cf..8b6e12d185 100644
--- a/bitbake-dev/lib/bb/runqueue.py
+++ b/bitbake-dev/lib/bb/runqueue.py
@@ -482,9 +482,10 @@ class RunQueue:
482 for task in range(len(self.runq_fnid)): 482 for task in range(len(self.runq_fnid)):
483 fnid = self.runq_fnid[task] 483 fnid = self.runq_fnid[task]
484 if fnid not in reccumdepends: 484 if fnid not in reccumdepends:
485 reccumdepends[fnid] = set()
486 if fnid in tdepends_fnid: 485 if fnid in tdepends_fnid:
487 reccumdepends[fnid].update(tdepends_fnid[fnid]) 486 reccumdepends[fnid] = tdepends_fnid[fnid]
487 else:
488 reccumdepends[fnid] = set()
488 reccumdepends[fnid].update(self.runq_depends[task]) 489 reccumdepends[fnid].update(self.runq_depends[task])
489 for task in range(len(self.runq_fnid)): 490 for task in range(len(self.runq_fnid)):
490 taskfnid = self.runq_fnid[task] 491 taskfnid = self.runq_fnid[task]