From: Richard Purdie Date: Fri, 2 Sep 2022 16:27:12 +0000 (+0000) Subject: kernel: Use consistent make flags for menuconfig X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3045 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c616bc090d1834a21073a33209323220c05d2e5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git kernel: Use consistent make flags for menuconfig We're currently only passing in a subset of the kernel make flags to menuconfig. Fix this to be consistent with all the other kernel operations since these are becomming increasingly reliant on host compilers and flags and target toolchains as well. Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass index 0d3533363de..de1b80d0ae9 100644 --- a/meta/classes-recipe/kernel.bbclass +++ b/meta/classes-recipe/kernel.bbclass @@ -643,7 +643,8 @@ addtask savedefconfig after do_configure inherit cml1 -KCONFIG_CONFIG_COMMAND:append = " PAHOLE=false LD='${KERNEL_LD}' HOSTLDFLAGS='${BUILD_LDFLAGS}'" +# Need LD, HOSTLDFLAGS and more for config operations +KCONFIG_CONFIG_COMMAND:append = " ${EXTRA_OEMAKE}" EXPORT_FUNCTIONS do_compile do_transform_kernel do_transform_bundled_initramfs do_install do_configure