diff options
author | Christopher Larson <chris_larson@mentor.com> | 2015-08-03 12:20:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-03 12:33:08 +0100 |
commit | 383450c78a46060de9a483d4cce5955136dca807 (patch) | |
tree | aa439a580c052e3dec0fcda39ae0dbe7772d4dc1 /bitbake/lib/bb/parse | |
parent | 71b0568fa43285f0946fae93fb43cea5f3bbecec (diff) | |
download | poky-383450c78a46060de9a483d4cce5955136dca807.tar.gz |
bitbake: build: delete tasks thoroughly
We want addtask to be able to bring back a deleted task, but we don't want its
previous dependencies to come back with it, so rather than marking a task as
deleted and then skipping tasks marked as such, actually delete the task and
its dependency information in deltask.
While we're in that part of the code, also fix a couple 'not foo in bar'
instances to 'foo not in bar', which is preferred in python.
(Bitbake rev: 94b3f3d6bdfbfa47f7eb3c3de64940a145b2ddd1)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r-- | bitbake/lib/bb/parse/ast.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index bd42bd3a7a..11db1801b3 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py | |||
@@ -330,8 +330,7 @@ def finalize(fn, d, variant = None): | |||
330 | bb.data.update_data(d) | 330 | bb.data.update_data(d) |
331 | 331 | ||
332 | tasklist = d.getVar('__BBTASKS', False) or [] | 332 | tasklist = d.getVar('__BBTASKS', False) or [] |
333 | deltasklist = d.getVar('__BBDELTASKS', False) or [] | 333 | bb.build.add_tasks(tasklist, d) |
334 | bb.build.add_tasks(tasklist, deltasklist, d) | ||
335 | 334 | ||
336 | bb.parse.siggen.finalise(fn, d, variant) | 335 | bb.parse.siggen.finalise(fn, d, variant) |
337 | 336 | ||