mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
bitbake: 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). (Bitbake rev: 93e94c06baf013e3d072465a55bddd1fe61c0772) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -818,8 +818,8 @@ def add_tasks(tasklist, d):
|
|||||||
if 'deps' in flags:
|
if 'deps' in flags:
|
||||||
for dep in flags['deps']:
|
for dep in flags['deps']:
|
||||||
# Check and warn for "addtask task after foo" while foo does not exist
|
# Check and warn for "addtask task after foo" while foo does not exist
|
||||||
if not dep in tasklist:
|
#if not dep in tasklist:
|
||||||
bb.warn('%s: dependent task %s for %s does not exist' % (d.getVar('PN'), dep, task))
|
# bb.warn('%s: dependent task %s for %s does not exist' % (d.getVar('PN'), dep, task))
|
||||||
dep = d.expand(dep)
|
dep = d.expand(dep)
|
||||||
task_deps['parents'][task].append(dep)
|
task_deps['parents'][task].append(dep)
|
||||||
|
|
||||||
|
|||||||
@@ -203,5 +203,5 @@ deltask do_fetch do_patch
|
|||||||
self.assertTrue("addtask contained multiple 'after' keywords" in stdout)
|
self.assertTrue("addtask contained multiple 'after' keywords" in stdout)
|
||||||
self.assertTrue('addtask ignored: " do_patch"' in stdout)
|
self.assertTrue('addtask ignored: " do_patch"' in stdout)
|
||||||
self.assertTrue('deltask 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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user