summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-01 11:54:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-01 23:09:08 +0100
commitdabc5ae13ac34c4c3c45f5203c5fcff21cbaa864 (patch)
tree7d49e8d20a5e7f01105ce334bb1c2addee1cc328 /bitbake/lib/bb/build.py
parentfcec90de9c2c4abb64780628193f0631c0b296ad (diff)
downloadpoky-dabc5ae13ac34c4c3c45f5203c5fcff21cbaa864.tar.gz
bitbake: build: Ensure warning for invalid task dependencies is useful
WARNING: elfutils: dependent task do_rm_work does not exist is much less useful than WARNING: elfutils: dependent task do_rm_work for do_deploy does not exist (Bitbake rev: e034c6f75e3d7730ff16a8d1bd0cba03beda0af8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index da592e6d84..8ad9f5de2a 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -819,7 +819,7 @@ def add_tasks(tasklist, d):
819 for dep in flags['deps']: 819 for dep in flags['deps']:
820 # Check and warn for "addtask task after foo" while foo does not exist 820 # Check and warn for "addtask task after foo" while foo does not exist
821 if not dep in tasklist: 821 if not dep in tasklist:
822 bb.warn('%s: dependent task %s does not exist' % (d.getVar('PN'), dep)) 822 bb.warn('%s: dependent task %s for %s does not exist' % (d.getVar('PN'), dep, task))
823 dep = d.expand(dep) 823 dep = d.expand(dep)
824 task_deps['parents'][task].append(dep) 824 task_deps['parents'][task].append(dep)
825 825