summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2017-07-20 16:19:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-24 09:12:28 +0100
commitd3a41fbd94462efc8c6f1b55f6fb54001b447c45 (patch)
treecd58b59180e9a047a75abf41c915659c5fe72a44
parentdb8815abe3db60b0510fb378bf6d82172c2f2768 (diff)
downloadopenembedded-core-contrib-d3a41fbd94462efc8c6f1b55f6fb54001b447c45.tar.gz
openembedded-core-contrib-d3a41fbd94462efc8c6f1b55f6fb54001b447c45.tar.bz2
openembedded-core-contrib-d3a41fbd94462efc8c6f1b55f6fb54001b447c45.zip
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 <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-kernel/linux/linux-yocto.inc3
1 files changed, 2 insertions, 1 deletions
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"