<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Ross,<br>
<br>
I check the values of d.getVarFlag('do_configure', 'task') and
d.getVarFlag('do_unpack', 'task') for gcc-source.<br>
But it seems that both values are 1.<br>
<br>
I use the following command to get the values,<br>
os.system("echo 'do_unpack=%s, do_configure=%s, noexec=%s, pn=%s'
>> /tmp/task.txt" %(d.getVarFlag('do_unpack',
'task'),d.getVarFlag('do_configure',
'task'),d.getVarFlag('do_configure', 'noexec'),pn))<br>
<br>
Does I miss something?<br>
<br>
I query several people about how to get the current tasks of a
recipe. But I get nothing more.<br>
<br>
Thanks!<br>
Jian<br>
<br>
<div class="moz-cite-prefix">On 2015年11月16日 23:08, Burton, Ross
wrote:<br>
</div>
<blockquote
cite="mid:CAJTo0LZcvVSoNnndi1qU5Pv3K5UfmpkcfRhzdQwFot6BeHrbvA@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">On 16 November 2015 at 05:33, Jian
Liu <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jian.liu@windriver.com" target="_blank">jian.liu@windriver.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div id=":3d3" class="" style="overflow:hidden">+
if d.getVarFlag('do_configure', 'noexec') == '1' or
'do_configure' not in d.getVar('__BBTASKS', False):<br>
</div>
</blockquote>
</div>
<br>
__BBTASKS is internal so shouldn't beused unless you have an
awesome reason. Richard tells me that
d.getVarFlag('do_configure', 'task') is probably what you
want.</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Ross</div>
</div>
</blockquote>
<br>
</body>
</html>