]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: split meta data gathering into patch and config phases
authorBruce Ashfield <bruce.ashfield@gmail.com>
Wed, 12 Aug 2020 17:03:28 +0000 (13:03 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Aug 2020 07:03:32 +0000 (08:03 +0100)
commit004da4c6c6029bb2bdcea6da8afa70368ddd1bca
treeef9ca654fa319b8bdd8f3ba99497f7e07a09375f
parent63c8681e6bf763800e797f6d37f2f133abb7a0e8
kernel-yocto: split meta data gathering into patch and config phases

do_kernel_metadata gathers and sanitizes the meta-data that is used
in later steps of the kernel-yocto build process. The processing
takes the form of configuration and patch gathering.

The current single pass of both config and patch gathering means
that patches can't modify in-tree configuration elements (although
this makes tracing configuration changes harder, it is a valid
workflow).

We can divide the routine into a patch and configuration phase, and
call the config variant after patching is done. This keeps the
common parts of the gahering intact, but allows us flexibilty in
when the stages happen.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass