Re: [OE-core] [PATCH RESEND] kernel-yocto: fix merge_config.sh flag set when KBUILD_DEFCONFIG is used

2025-01-27 Thread Slawomir Stepien via lists.openembedded.org
On sty 26, 2025 16:51, Jörg Sommer wrote: > Slawomir Stepien via lists.openembedded.org schrieb am So 26. Jan, 13:43 > (+0100): > > Based on the documentation of KCONFIG_MODE[1], when we use "in-tree" > > defconfig (the KBUILD_DEFCONFIG is set), then the alldefconfig

[OE-core] [PATCH] kernel-yocto: move the cp of ${KBUILD_DEFCONFIG} file outside if body

2025-01-26 Thread Slawomir Stepien via lists.openembedded.org
In both true/false cases, we will cp the file, so move the invocation after the if body. In addition, misleading comment has been removed. Signed-off-by: Slawomir Stepien --- meta/classes-recipe/kernel-yocto.bbclass | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/meta

[OE-core] [PATCH RESEND] kernel-yocto: fix merge_config.sh flag set when KBUILD_DEFCONFIG is used

2025-01-26 Thread Slawomir Stepien via lists.openembedded.org
Based on the documentation of KCONFIG_MODE[1], when we use "in-tree" defconfig (the KBUILD_DEFCONFIG is set), then the alldefconfig mode should be used with merge_config.sh. This commit fixes the logic behind setting the flag by checking if the provided defconfig file exists in the linux source tr

[OE-core] [PATCH] kernel-yocto: fix merge_config.sh flag set when KBUILD_DEFCONFIG is used

2025-01-26 Thread Slawomir Stepien via lists.openembedded.org
Based on the documentation of KCONFIG_MODE[1], when we use "in-tree" defconfig (the KBUILD_DEFCONFIG is set), then the alldefconfig mode should be used with merge_config.sh. This commit fixes the logic behind setting the flag by checking if the provided defconfig file exists in the linux source tr