kernel: change default kconfig mode to olddefconfig
PATCH 1/1 kernel: change default kconfig mode to olddefconfig
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
---
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(-)
meta/classes/kernel.bbclass +1 -1
@@ -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')
Signature · 1 line
2.5.0
Quoted 5 lines · Bruce Ashfield
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
Mentioning which kernel version first introduced olddefconfig would be useful information here as kernels prior to that version will now fail to build. It looks like the patch was first proposed sometime around 2012:
https://patchwork.kernel.org/patch/1394011/
We may also need to either add a fallback to use oldnoconfig or bump OLDEST_KERNEL (it's currently 3.2.0, which was released in early 2012 and so probably predates olddefconfig).
Quoted 32 lines
Signed-off-by Bruce Ashfield <[email protected]>---
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(-)meta/classes/kernel.bbclass +1
-2@@ -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
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 13 lines · Andre McCurdy
Quoted 5 lines · Bruce Ashfield
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
Mentioning which kernel version first introduced olddefconfig would be useful information here as kernels prior to that version will now fail to build. It looks like the patch was first proposed sometime around 2012:
Quoted 5 lines
https://patchwork.kernel.org/patch/1394011/We may also need to either add a fallback to use oldnoconfig or bump
OLDEST_KERNEL(it's currently 3.2.0, which was released in early 2012 and so probably predates olddefconfig).
We've covered this a few times in the past, and yah, we could put a fallback into the command.
I'll spin out a v2 that adds a fallback like we used to have, except now with the oldnoconfig as the 2nd option.
Bruce
Quoted 33 lines
Quoted 33 lines
Signed-off-by Bruce Ashfield <[email protected]>---
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(-)meta/classes/kernel.bbclass +1
-2@@ -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
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core