From: Bruce Ashfield Date: Mon, 27 Feb 2017 03:10:04 +0000 (-0500) Subject: linux-yocto-dev: add virtio fragment for virtio targets X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e438ede997b781c11630a6f16ff2b19367c6fb1c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/meta/recipes-kernel/linux/linux-yocto-dev.bb index a4e02dbfff7..b9487d6e695 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)}"