[kernel] Why is do_kernel_metadata before do_patch?


Alexandru N. Onea
 

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?

Best regards,
Alexandru Onea

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