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



-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to