<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 26, 2016 at 1:12 AM, Robert Yang <span dir="ltr"><<a href="mailto:liezhi.yang@windriver.com" target="_blank">liezhi.yang@windriver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 05/25/2016 07:17 PM, Burton, Ross wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
On 25 May 2016 at 10:23, Robert Yang <<a href="mailto:liezhi.yang@windriver.com" target="_blank">liezhi.yang@windriver.com</a><br></span><span class="">
<mailto:<a href="mailto:liezhi.yang@windriver.com" target="_blank">liezhi.yang@windriver.com</a>>> wrote:<br>
<br>
It lists deleted tasks which is unexpected, use __BBTASKS to fix the<br>
problem since deltask() which is defined in <span class="il">bitbake</span>/lib/<span class="il">bb</span>/build.py<br>
updates __BBTASKS correctly.<br>
<br>
<br>
Wouldn't an alternative be to change deltask so that it also remove the "task"<br>
flag from the variable?<br>
</span></blockquote>
<br>
The problem is, if we do:<br>
<br>
d.delVarFlag(task, 'task')<br>
<br>
Then maybe we should remove the whole task from d rather than only<br>
remove the flags ?</blockquote></div><br>IMO, no, deltask and addtask control whether an existing function is a task or not, so can be run like a task. If you want the variable deleted, that's what delVar is for.<br>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>