Hi Ross,

I check the values of d.getVarFlag('do_configure', 'task') and d.getVarFlag('do_unpack', 'task') for gcc-source.
But it seems that both values are 1.

I use the following command to get the values,
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))

Does I miss something?

I query several people about how to get the current tasks of a recipe. But I get nothing more.

Thanks!
Jian

On 2015年11月16日 23:08, Burton, Ross wrote:

On 16 November 2015 at 05:33, Jian Liu <jian....@windriver.com <mailto:jian....@windriver.com>> wrote:

    + if d.getVarFlag('do_configure', 'noexec') == '1' or
    'do_configure' not in d.getVar('__BBTASKS', False):


__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.

Ross

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to