[oe] is it "addtask do_X ..." or "addtask X ..." or does it matter?

Christopher Larson clarson at kergoth.com
Sat Jul 12 20:08:05 UTC 2014


On Sat, Jul 12, 2014 at 4:22 AM, Robert P. J. Day <rpjday at crashcourse.ca>
wrote:

>   want to clarify the two different ways to use addtask.  for example:
>
> classes/kernel.bbclass:addtask savedefconfig after do_configure
> classes/kernel.bbclass:addtask do_strip before do_sizecheck after
> do_kernel_link_vmlinux
> classes/kernel.bbclass:addtask sizecheck before do_install after do_strip
>
> so what is the preferred form? are they equivalent?
>

addtask do_strip will add a task named 'do_do_strip', afaik.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the Openembedded-devel mailing list