aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/taskdata.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-05-09 10:23:19 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-05-09 10:23:19 +0000
commit5c0671c7028c135e2da5ef832c452af505df740d (patch)
tree81a84809aad710060ba4bc90d14ee24ea83c4949 /lib/bb/taskdata.py
parent02a48b3e3962b5dc25def67154816de6f97e7f43 (diff)
downloadbitbake-5c0671c7028c135e2da5ef832c452af505df740d.tar.gz
runqueue/taskdata.py: Make sure recrdeps tasks include all inter-task dependencies of a given fn
Diffstat (limited to 'lib/bb/taskdata.py')
-rw-r--r--lib/bb/taskdata.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/bb/taskdata.py b/lib/bb/taskdata.py
index 0fb34ad74..566614ee6 100644
--- a/lib/bb/taskdata.py
+++ b/lib/bb/taskdata.py
@@ -91,6 +91,16 @@ class TaskData:
return self.fn_index.index(name)
+ def gettask_ids(self, fnid):
+ """
+ Return an array of the ID numbers matching a given fnid.
+ """
+ ids = []
+ if fnid in self.tasks_lookup:
+ for task in self.tasks_lookup[fnid]:
+ ids.append(self.tasks_lookup[fnid][task])
+ return ids
+
def gettask_id(self, fn, task, create = True):
"""
Return an ID number for the task matching fn and task.