]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
kernel: Use consistent make flags for menuconfig
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 2 Sep 2022 16:27:12 +0000 (16:27 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 Sep 2022 07:51:32 +0000 (08:51 +0100)
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 <richard.purdie@linuxfoundation.org>
meta/classes-recipe/kernel.bbclass

index 0d3533363dea273391460907d3eaf361810b2172..de1b80d0ae96598f485b3c051623b0f8aa93c175 100644 (file)
@@ -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