diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-01 23:06:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-01 23:08:09 +0100 |
commit | 93e94c06baf013e3d072465a55bddd1fe61c0772 (patch) | |
tree | 9f5f693935a75472a96ec181b82d8fa33ee69078 | |
parent | e034c6f75e3d7730ff16a8d1bd0cba03beda0af8 (diff) | |
download | bitbake-93e94c06baf013e3d072465a55bddd1fe61c0772.tar.gz |
build: Disable warning about dependent tasks for now
This breaks with rm_work so disable the warning until we find a better
solution (and change the test accordingly too).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/build.py | 4 | ||||
-rw-r--r-- | lib/bb/tests/parse.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py index 8ad9f5de2..a228b05dd 100644 --- a/lib/bb/build.py +++ b/lib/bb/build.py @@ -818,8 +818,8 @@ def add_tasks(tasklist, d): if 'deps' in flags: 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 for %s does not exist' % (d.getVar('PN'), dep, task)) + #if not dep in tasklist: + # 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) diff --git a/lib/bb/tests/parse.py b/lib/bb/tests/parse.py index aa7adc40f..747fc35fc 100644 --- a/lib/bb/tests/parse.py +++ b/lib/bb/tests/parse.py @@ -203,5 +203,5 @@ deltask do_fetch do_patch self.assertTrue("addtask contained multiple 'after' keywords" in stdout) self.assertTrue('addtask ignored: " do_patch"' in stdout) self.assertTrue('deltask ignored: " do_patch"' in stdout) - self.assertTrue('dependent task do_foo for do_patch does not exist' in stdout) + #self.assertTrue('dependent task do_foo for do_patch does not exist' in stdout) |