diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-02-26 22:10:04 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-04 23:18:16 +0000 |
commit | e438ede997b781c11630a6f16ff2b19367c6fb1c (patch) | |
tree | 7b7bcbf76f83ca0eb3e39f8635f8a9e986f40136 | |
parent | 3e35438d8307d4927c63ab1e342c07f995aee7fa (diff) | |
download | poky-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.bb | 1 |
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 |
40 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" | 40 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc" |
41 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" | 41 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" |
42 | KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc" | ||
42 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" | 43 | KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc" |
43 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc" | 44 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc" |
44 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" | 45 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" |