aboutsummaryrefslogtreecommitdiffstats
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
parent6ae96f7129b547d9df799be61217ea55e3790a98 (diff)
downloadopenembedded-core-contrib-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>
-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):
bbtasks = d.getVar('__BBTASKS', False) or []
if task in bbtasks:
bbtasks.remove(task)
+ d.delVarFlag(task, 'task')
d.setVar('__BBTASKS', bbtasks)
d.delVarFlag(task, 'deps')