[OE-core] [PATCH][master-next] kernel: change default kconfig mode to olddefconfig

Bruce Ashfield bruce.ashfield at windriver.com
Mon Oct 29 18:12:58 UTC 2018


As was warned by commit 312ee68752fa ("kconfig: announce removal
of oldnoconfig if used"), it has been removed from the 4.20 kernel.

So we switch our default mode to the proper olddefconfig

Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
---

Not for the release, just wanted to get this in the queue for
when master reopens so we'll be ready for 4.20+ kernel versions

Bruce

 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index e04d2fe00434..d50f4a9ee822 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -492,7 +492,7 @@ sysroot_stage_all () {
 	:
 }
 
-KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} CC="${KERNEL_CC}" O=${B} oldnoconfig"
+KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} CC="${KERNEL_CC}" O=${B} olddefconfig"
 
 python check_oldest_kernel() {
     oldest_kernel = d.getVar('OLDEST_KERNEL')
-- 
2.5.0




More information about the Openembedded-core mailing list