summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/linux/linux-yocto-dev.bb
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-03 12:21:10 +0000
commit7e30a0db7b587a72a50d6d981ba8cf275ca61b23 (patch)
treecf8757fe095dd9668024f4181c979725b193d8d4 /meta/recipes-kernel/linux/linux-yocto-dev.bb
parent4e50f18401b0c4bbb6923b88302411cad7917930 (diff)
downloadopenembedded-core-7e30a0db7b587a72a50d6d981ba8cf275ca61b23.tar.gz
openembedded-core-7e30a0db7b587a72a50d6d981ba8cf275ca61b23.tar.bz2
openembedded-core-7e30a0db7b587a72a50d6d981ba8cf275ca61b23.zip
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. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-yocto-dev.bb')
-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"
# Functionality flags
KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
+KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc"
KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"
KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"