diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/taskdata.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py index 45f6902ddd..976e0ca1f9 100644 --- a/bitbake/lib/bb/taskdata.py +++ b/bitbake/lib/bb/taskdata.py | |||
@@ -161,6 +161,8 @@ class TaskData: | |||
161 | ids = [] | 161 | ids = [] |
162 | for dep in task_deps['depends'][task].split(): | 162 | for dep in task_deps['depends'][task].split(): |
163 | if dep: | 163 | if dep: |
164 | if ":" not in dep: | ||
165 | bb.msg.fatal(bb.msg.domain.TaskData, "Error, dependency %s does not contain ':' character\n. Task 'depends' should be specified in the form 'packagename:task'" % (depend, fn)) | ||
164 | ids.append(((self.getbuild_id(dep.split(":")[0])), dep.split(":")[1])) | 166 | ids.append(((self.getbuild_id(dep.split(":")[0])), dep.split(":")[1])) |
165 | self.tasks_idepends[taskid].extend(ids) | 167 | self.tasks_idepends[taskid].extend(ids) |
166 | 168 | ||