summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2017-02-26 22:10:04 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-04 23:18:16 +0000
commite438ede997b781c11630a6f16ff2b19367c6fb1c (patch)
tree7b7bcbf76f83ca0eb3e39f8635f8a9e986f40136
parent3e35438d8307d4927c63ab1e342c07f995aee7fa (diff)
downloadpoky-e438ede997b781c11630a6f16ff2b19367c6fb1c.tar.gz
linux-yocto-dev: add virtio fragment for virtio targets
Other linux-yocto recipes have the virtio fragment added to qemu* targets. If you plan on booting a kernel with qemu, we need these options .. or things like the virtual disk won't be present. (From OE-Core rev: 7e30a0db7b587a72a50d6d981ba8cf275ca61b23) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-dev.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/meta/recipes-kernel/linux/linux-yocto-dev.bb
index a4e02dbfff..b9487d6e69 100644
--- a/meta/recipes-kernel/linux/linux-yocto-dev.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-dev.bb
@@ -39,6 +39,7 @@ KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"
39# Functionality flags 39# Functionality flags
40KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" 40KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
41KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" 41KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
42KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc"
42KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" 43KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
43KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc" 44KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"
44KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" 45KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"