diff options
Diffstat (limited to 'bitbake/lib/bb/taskdata.py')
-rw-r--r-- | bitbake/lib/bb/taskdata.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py index 0fb34ad748..566614ee63 100644 --- a/bitbake/lib/bb/taskdata.py +++ b/bitbake/lib/bb/taskdata.py | |||
@@ -91,6 +91,16 @@ class TaskData: | |||
91 | 91 | ||
92 | return self.fn_index.index(name) | 92 | return self.fn_index.index(name) |
93 | 93 | ||
94 | def gettask_ids(self, fnid): | ||
95 | """ | ||
96 | Return an array of the ID numbers matching a given fnid. | ||
97 | """ | ||
98 | ids = [] | ||
99 | if fnid in self.tasks_lookup: | ||
100 | for task in self.tasks_lookup[fnid]: | ||
101 | ids.append(self.tasks_lookup[fnid][task]) | ||
102 | return ids | ||
103 | |||
94 | def gettask_id(self, fn, task, create = True): | 104 | def gettask_id(self, fn, task, create = True): |
95 | """ | 105 | """ |
96 | Return an ID number for the task matching fn and task. | 106 | Return an ID number for the task matching fn and task. |