]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
linux-yocto: make sure the pahole-native available before do_kernel_configme
authorXiangyu Chen <xiangyu.chen@windriver.com>
Thu, 26 Oct 2023 06:38:48 +0000 (14:38 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Oct 2023 07:28:34 +0000 (08:28 +0100)
commit217a4db53edbd88001f6390bbff39e5dd3d137af
tree68aaedfa563365eebfbabdb2877c8410d1cdd497
parent54356c6f1290d0d4170ed52f7bb358bb9efc1aec
linux-yocto: make sure the pahole-native available before do_kernel_configme

When using debug-btf.scc in a clean workspace, the CONFIG_MODULE_ALLOW_BTF_MISMATCH cannot
apply to kernel until clean the kernel code(bitbake linux-yocto -c cleanall) and rebuild.

After tracking the code, some options depend on CONFIG_PAHOLE_VERSION, it was generated by
scripts/pahole-version.sh in kernel, but during do_kernel_configme step, the pahole-native
is not available in sysroot-native, so need to wait pahole-native install to sysroot-native
before do_kernel_configme.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/linux-yocto.inc