summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-06-14 19:42:10 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-23 14:26:33 +0100
commitc6d50b272936b61b98a056ea2e1de5d0f4ef53ce (patch)
treeab4c0ba55f9f26ebc51bb1f227827ca4c024d0bb /bitbake/lib/bb/build.py
parent6ae96f7129b547d9df799be61217ea55e3790a98 (diff)
downloadpoky-c6d50b272936b61b98a056ea2e1de5d0f4ef53ce.tar.gz
bitbake: lib/bb/build.py: remove task flag in deltask()
Otherwise the function like d.getVarFlag(e, 'task', True) which is used by do_listtasks will still get it, and list the deleted tasks. (Bitbake rev: 779d73619daf59f76f5b0313e7fb5409f6e82553) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index e016ae3f40..2ebe67306f 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -778,6 +778,7 @@ def deltask(task, d):
778 bbtasks = d.getVar('__BBTASKS', False) or [] 778 bbtasks = d.getVar('__BBTASKS', False) or []
779 if task in bbtasks: 779 if task in bbtasks:
780 bbtasks.remove(task) 780 bbtasks.remove(task)
781 d.delVarFlag(task, 'task')
781 d.setVar('__BBTASKS', bbtasks) 782 d.setVar('__BBTASKS', bbtasks)
782 783
783 d.delVarFlag(task, 'deps') 784 d.delVarFlag(task, 'deps')