From: Joe Slater Date: Thu, 20 Jul 2017 23:19:51 +0000 (-0700) Subject: linux-yocto: only suggest default kernel type X-Git-Tag: uninative-1.7~47 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d3a41fbd94462efc8c6f1b55f6fb54001b447c45;p=openembedded-core.git linux-yocto: only suggest default kernel type The distro should set a default kernel type (?=) which could be overriden by local.conf (=) or extensions (templates). The kernel itself should only use "??=" to provide a value which allows builds to succeed. Signed-off-by: Joe Slater Signed-off-by: Ross Burton --- diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc index 637506a2a8..aec06c2427 100644 --- a/meta/recipes-kernel/linux/linux-yocto.inc +++ b/meta/recipes-kernel/linux/linux-yocto.inc @@ -33,7 +33,8 @@ KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc" # and it can be specific to the machine or shared # KMACHINE = "UNDEFINED" -LINUX_KERNEL_TYPE ?= "standard" +# The distro or local.conf should set this, but if nobody cares... +LINUX_KERNEL_TYPE ??= "standard" # KMETA ?= "" KBRANCH ?= "master"