[oe-commits] [openembedded-core] 06/21: kernel: use olddefconfig as the primary target for KERNEL_CONFIG_COMMAND

git at git.openembedded.org git at git.openembedded.org
Tue Oct 30 16:53:38 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 608c2828ae5bad840c3630794e11e9baafb6f256
Author: Bruce Ashfield <bruce.ashfield at windriver.com>
AuthorDate: Mon Oct 29 23:39:24 2018 -0400

    kernel: use olddefconfig as the primary target for KERNEL_CONFIG_COMMAND
    
    As was warned by commit 312ee68752fa [kconfig: announce removal of
    oldnoconfig if used], oldnoconfig has been removed from the 4.20 kernel.
    
    So we switch our default mode to olddefconfig.
    
    commit fb16d8912 [kconfig: replace 'oldnoconfig' with 'olddefconfig',
    and keep the old name as an alias] introduced olddefconfig in the 3.10
    kernel, we shuffle oldnoconfig to the fallback target.
    
    The fallback mode allows kernels between 3.10 and the currently listed
    oldest kernel of 3.2 to continue to configure.
    
    Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 e04d2fe..8fe2071 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 || yes '' | oe_runmake -C ${S} O=${B} CC="${KERNEL_CC}" oldnoconfig"
 
 python check_oldest_kernel() {
     oldest_kernel = d.getVar('OLDEST_KERNEL')

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list