[bitbake-devel] [PATCH] bb.build: let addtask undo a deltask

Christopher Larson chris_larson at mentor.com
Fri Jul 31 19:17:49 UTC 2015


On Fri, Jul 31, 2015 at 11:41 AM, Christopher Larson <
chris_larson at mentor.com> wrote:

>
> On Fri, Jul 31, 2015 at 10:31 AM, Christopher Larson <kergoth at gmail.com>
> wrote:
>
>> From: Christopher Larson <chris_larson at mentor.com>
>>
>> While we're in that part of the code, also fix 'not foo in bar' to 'foo
>> not in
>> bar', as is preferred in python.
>>
>> Signed-off-by: Christopher Larson <chris_larson at mentor.com>
>>
>
> Hold off on applying this. While it’s a start, it’s not necessarily ideal
> either, since it doesn’t reset the intra-recipe inter-task dependencies.
> Re-adding a deleted task will resurrect it exactly as it was, rather than
> with new specified dependencies. I’m looking into a more thorough deletion
> now.
>

I’m currently testing a version which has deltask delete the task’s deps
flag, and iterates over __BBTASKS to delete the task from other task’s deps
flags. My up front parse times aren’t changing, so it doesn’t seem to have
a great deal of impact on performance, which was my only concern with that.
The alternative, if the performance is an issue, would likely be to start
maintaining revdep information.
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20150731/5750d356/attachment-0002.html>


More information about the bitbake-devel mailing list