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-01 20:45:41 +0100 |
commit | 94b3f3d6bdfbfa47f7eb3c3de64940a145b2ddd1 (patch) | |
tree | 393f4e89f0df3f9c14e40a32d13944136b0bb9a0 /lib/bb/parse | |
parent | 1c2f6b9b7b9e700146944b9d6d2114e0d014ee81 (diff) | |
download | bitbake-contrib-94b3f3d6bdfbfa47f7eb3c3de64940a145b2ddd1.tar.gz |
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.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/parse')
-rw-r--r-- | lib/bb/parse/ast.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bb/parse/ast.py b/lib/bb/parse/ast.py index bd42bd3a7..11db1801b 100644 --- a/lib/bb/parse/ast.py +++ b/lib/bb/parse/ast.py @@ -330,8 +330,7 @@ def finalize(fn, d, variant = None): bb.data.update_data(d) tasklist = d.getVar('__BBTASKS', False) or [] - deltasklist = d.getVar('__BBDELTASKS', False) or [] - bb.build.add_tasks(tasklist, deltasklist, d) + bb.build.add_tasks(tasklist, d) bb.parse.siggen.finalise(fn, d, variant) |