[OE-core] how many ways to delete/de-activate a recipe's task?

Richard Purdie richard.purdie at linuxfoundation.org
Wed Mar 11 17:57:02 UTC 2015


On Wed, 2015-03-11 at 12:22 -0500, Mark Hatle wrote:
> On 3/11/15 11:30 AM, Robert P. J. Day wrote:
> > 
> >   i recall that richard purdie might have explained this once but i
> > have no idea where that post is and i need to add something to it,
> > anyway ... how many ways are there to "delete" a task from a recipe,
> > and what are the differences?
> > 
> >   so far, i've seen:
> > 
> > 1) bitbake supports a "deltask" directive
> 
> The task and all it's dependencies go away.  So anything dependent on it and the
> things it depends on, are no longer dependent.
> 
> > 2) you can use the [noexec] task flag
> 
> The task and it's dependencies remain, but nothing is executed.
> 
> > 3) i've also seen redefining the task with a no-op ":" command
> 
> The task is executed and does nothing.  (I believe this dumps a stamp file and
> the noexec does not.. but I may be wrong.)

What Mark said. 3) is the old way of doing 2), we added 2) to make it
more efficient since there is no task execution overhead (which at one
point was measurable, it may be less so now).

Cheers,

Richard






More information about the Openembedded-core mailing list