[OE-core] [PATCH] utility-task: Add do_patchall task
Matthew McClintock
msm-oss at mcclintock.net
Tue Mar 7 20:53:16 UTC 2017
On Tue, Mar 7, 2017 at 2:47 PM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> On Tue, 2017-03-07 at 13:48 -0600, Matthew McClintock wrote:
>> This is useful in a few scenarios:
>>
>> 1) A developer wants to be able to grep all the code in a particular
>> without having to run patch on various components until they guess
>> the
>> right one (e.g. which component is generating an error/warning?)
>>
>> 2) Other code scanning tools that can be run without requiring a full
>> image to be built (legal, static code analysis, etc)
>>
>> Signed-off-by: Matthew McClintock <msm-oss at mcclintock.net>
>> ---
>> meta/classes/utility-tasks.bbclass | 7 +++++++
>> meta/conf/documentation.conf | 1 +
>> 2 files changed, 8 insertions(+)
>
> I have mixed feelings on this. Whilst I can see the attraction, extra
> tasks like this do actually have a parsing overhead. We already have a
> lot of them and its only a question of time before someone wants
> another XXXall task adding.
>
> I'm wondering if we can solve this at the bitbake level instead with a
> new parameter instead? That would allow us to delete tasks and speed up
> parsing rather than slow things down.
Can you drop a few hints as to where to look to add this to bitbake? I
can look at it a bit further.
One other thing we were thinking about was doing for only things that
will run on or be on the target (e.g. skipping the toolchain side).
-M
More information about the Openembedded-core
mailing list