[oe-commits] [bitbake] 03/03: build: Ensure warning for invalid task dependencies is useful
git at git.openembedded.org
git at git.openembedded.org
Wed May 1 10:56:09 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit c5700864d397ae822d302de2918733d724c22d62
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed May 1 11:54:27 2019 +0100
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
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/build.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bb/build.py b/lib/bb/build.py
index a9c27dc..88c69b3 100644
--- a/lib/bb/build.py
+++ b/lib/bb/build.py
@@ -808,7 +808,7 @@ def add_tasks(tasklist, d):
for dep in flags['deps']:
# Check and warn for "addtask task after foo" while foo does not exist
if not dep in tasklist:
- bb.warn('%s: dependent task %s does not exist' % (d.getVar('PN'), dep))
+ bb.warn('%s: dependent task %s for %s does not exist' % (d.getVar('PN'), dep, task))
dep = d.expand(dep)
task_deps['parents'][task].append(dep)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list