Now i got it, when i issue "bitbake dummy", it will only try to do a "build"
task, which is not DEPENDS on my task.
Thanks,
At 2012-12-20 15:28:31,Biao <huanmat...@163.com> wrote:
Hi All,
An added task is not run by bitbake, why is that ?
The meta-test layer setup is ok, you can forget this.
After i issue bitbake dummy, i found that it runs succeed with the tasks in
base.bbclass, but my dummy1 is not run, why is that?
meta-test/dummy/dummy.0.0.bb
<pre>
DESCRIPTION = "A simply dummy package"
do_dummy0 () {
bbnote "Doing Dummy0."
}
do_dummy1 () {
bbnote "Doing Dummy1."
}
do_dummy2 () {
bbnote "Doing Dummy2."
}
addtask dummy1 before do_dummy2 after do_dummy0
</pre>
Thanks,
Biao
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto