Re: [kernel] Why is do_kernel_metadata before do_patch?


Alex Kiernan
 

On Wed, Feb 12, 2020 at 1:13 PM Alexandru N. Onea <onea.alex@...> wrote:

Hello community,

I have noticed that do_kernel_metadata is always executed before do_patch. What is the reason for this ordering?

In my setup, I have a patch that changes some options in the in-tree defconfig that I want to use (set using KBUILD_DEFCONFIG) and, due to the ordering mentioned above, the changes are not taken into account. Is there another way to apply changes to an in-tree defconfig before the effect of do_kernel_metadata takes place?
For places I need to dump in a whole defconfig, I just copy it in as
part of SRC_URI:

SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git;branch=${KBRANCH}
\
file://ti_sdk_am3x_release_defconfig;subdir=git/arch/arm/configs \
"

--
Alex Kiernan

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.