summaryrefslogtreecommitdiffstats
path: root/lib/bb/taskdata.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-03-13 22:46:17 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-03-13 22:46:17 +0000
commitc93014671c0cfe7670335e204f3e14f0d42d0eb6 (patch)
tree914d626e4466033f02be54165c66a58c1573aaaf /lib/bb/taskdata.py
parent4ad6a9e946f7128112f147610aedf69b0432ec0b (diff)
downloadbitbake-c93014671c0cfe7670335e204f3e14f0d42d0eb6.tar.gz
cache.py: Improve the way various data structures are handled to speed up the hot cache data path
Diffstat (limited to 'lib/bb/taskdata.py')
-rw-r--r--lib/bb/taskdata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/taskdata.py b/lib/bb/taskdata.py
index a50188b41..0fb34ad74 100644
--- a/lib/bb/taskdata.py
+++ b/lib/bb/taskdata.py
@@ -167,11 +167,11 @@ class TaskData:
rdepends = dataCache.rundeps[fn]
rrecs = dataCache.runrecs[fn]
for package in rdepends:
- for rdepend in rdepends[package]:
+ for rdepend in bb.utils.explode_deps(rdepends[package]):
bb.msg.debug(2, bb.msg.domain.TaskData, "Added runtime dependency %s for %s" % (rdepend, fn))
rdependids[self.getrun_id(rdepend)] = None
for package in rrecs:
- for rdepend in rrecs[package]:
+ for rdepend in bb.utils.explode_deps(rrecs[package]):
bb.msg.debug(2, bb.msg.domain.TaskData, "Added runtime recommendation %s for %s" % (rdepend, fn))
rdependids[self.getrun_id(rdepend)] = None
self.rdepids[fnid] = rdependids.keys()