summaryrefslogtreecommitdiff
path: root/bitbake-dev/lib/bb/taskdata.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-19 15:33:31 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-19 15:34:01 +0000
commitb65e8ec5931afbfcb29482db5a3afb9a752166cf (patch)
tree4eecc2d466e0e7d68e2a73c348c9051a36df9fbd /bitbake-dev/lib/bb/taskdata.py
parent43788606bda9bef3e0c796271af8a03e01d9853d (diff)
downloadopenembedded-core-b65e8ec5931afbfcb29482db5a3afb9a752166cf.tar.gz
openembedded-core-b65e8ec5931afbfcb29482db5a3afb9a752166cf.tar.bz2
openembedded-core-b65e8ec5931afbfcb29482db5a3afb9a752166cf.zip
bitbake-dev: Sync again with upstream after fixes from Poky bitbake 1.8 were merged
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake-dev/lib/bb/taskdata.py')
-rw-r--r--bitbake-dev/lib/bb/taskdata.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake-dev/lib/bb/taskdata.py b/bitbake-dev/lib/bb/taskdata.py
index e3a60b9884..4a88e75f6d 100644
--- a/bitbake-dev/lib/bb/taskdata.py
+++ b/bitbake-dev/lib/bb/taskdata.py
@@ -173,6 +173,8 @@ class TaskData:
ids = []
for dep in task_deps['depends'][task].split():
if dep:
+ if ":" not in dep:
+ 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))
ids.append(((self.getbuild_id(dep.split(":")[0])), dep.split(":")[1]))
self.tasks_idepends[taskid].extend(ids)