summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-02 16:27:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-16 17:53:22 +0100
commit7c17784fcc3ba3fb6f6b6579b5209272b777564b (patch)
treecce3fe1129a27102063da4b5f9768c77a0c8d0f5 /meta/classes/kernel.bbclass
parent9df448f8437e8f23a81ca5e15f0387f5f2073e08 (diff)
downloadpoky-7c17784fcc3ba3fb6f6b6579b5209272b777564b.tar.gz
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. (From OE-Core rev: e36f3c3c7de052945edbb62bb2d6de7639360c47) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8c616bc090d1834a21073a33209323220c05d2e5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index aca03fc071..8dff68612d 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -637,7 +637,8 @@ addtask savedefconfig after do_configure
637 637
638inherit cml1 638inherit cml1
639 639
640KCONFIG_CONFIG_COMMAND:append = " PAHOLE=false LD='${KERNEL_LD}' HOSTLDFLAGS='${BUILD_LDFLAGS}'" 640# Need LD, HOSTLDFLAGS and more for config operations
641KCONFIG_CONFIG_COMMAND:append = " ${EXTRA_OEMAKE}"
641 642
642EXPORT_FUNCTIONS do_compile do_transform_kernel do_transform_bundled_initramfs do_install do_configure 643EXPORT_FUNCTIONS do_compile do_transform_kernel do_transform_bundled_initramfs do_install do_configure
643 644