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

Robert P. J. Day rpjday at crashcourse.ca
Sat Jul 12 20:25:38 UTC 2014


On Sat, 12 Jul 2014, Christopher Larson wrote:

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

  well, there is definitely some of that happening in the oe-core
codebase, feel free to:

  $ grep -r "addtask do_" *

so i'm not sure what to make of that.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the Openembedded-devel mailing list