]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-yocto: only suggest default kernel type
authorJoe Slater <jslater@windriver.com>
Thu, 20 Jul 2017 23:19:51 +0000 (16:19 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Jul 2017 08:12:28 +0000 (09:12 +0100)
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 <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-kernel/linux/linux-yocto.inc

index 637506a2a885af9df70e76db8fcbac36bbfb5499..aec06c2427d9696655f8ee8166f916d1ded87bd7 100644 (file)
@@ -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"