Re: [OE-core] [PATCH] archiver.bbclass: fix an exception of the mode configured

2015-12-21 Thread Jian Liu
Ping On 2015年11月17日 13:31, Jian Liu wrote: 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

Re: [OE-core] [PATCH] archiver.bbclass: fix an exception of the mode configured

2015-11-16 Thread Jian Liu
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

Re: [OE-core] [PATCH] archiver.bbclass: fix an exception of the mode configured

2015-11-16 Thread Burton, Ross
On 16 November 2015 at 05:33, Jian Liu 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', 't

[OE-core] [PATCH] archiver.bbclass: fix an exception of the mode configured

2015-11-15 Thread Jian Liu
gcc-source does not have the task do_configure, so if configured mode is set, the task do_ar_configured depends on do_configure. This will cause an error. Signed-off-by: Jian Liu --- archiver.bbclass | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/meta/classes/a

Re: [OE-core] [PATCH] archiver.bbclass: fix an exception of the mode configured

2015-11-15 Thread Jian Liu
Hi all, Sorry for a mistake. Please ignore this patch Jian On 2015年11月13日 18:09, Jian Liu wrote: gcc-source does not have the task do_configure, so if configured mode is set, the task do_ar_configured depends on do_configure. This will cause an error. Signed-off-by: Jian Liu --- archiver.b

[OE-core] [PATCH] archiver.bbclass: fix an exception of the mode configured

2015-11-13 Thread Jian Liu
gcc-source does not have the task do_configure, so if configured mode is set, the task do_ar_configured depends on do_configure. This will cause an error. Signed-off-by: Jian Liu --- archiver.bbclass | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/meta/clas