aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-egvirt/conf/include/agl-egvirt.inc19
-rw-r--r--templates/feature/agl-egvirt/50_local.conf.inc12
2 files changed, 21 insertions, 10 deletions
diff --git a/meta-egvirt/conf/include/agl-egvirt.inc b/meta-egvirt/conf/include/agl-egvirt.inc
new file mode 100644
index 00000000..1cdfdf6b
--- /dev/null
+++ b/meta-egvirt/conf/include/agl-egvirt.inc
@@ -0,0 +1,19 @@
+# gstreamer1.0-plugins-bad contains:
+# * videoparsersbad plugin which contains h264parse element needed to demonstrate H.264 hardware decoding
+# * waylandsink plugin
+MACHINE_EXTRA_RDEPENDS:append = " \
+ kernel-module-virtio-video \
+ gstreamer1.0-plugins-bad \
+"
+
+MACHINE_EXTRA_RDEPENDS:append = " \
+ kernel-module-virtio-can \
+"
+
+# add driver for supporting vhost devices loopback (virtio-loopback)
+MACHINE_EXTRA_RDEPENDS:append = " \
+ virtio-loopback-driver \
+"
+
+IMAGE_INSTALL:append = " vhost-device-i2c vhost-device-rng vhost-device-vsock vhost-device-gpio "
+
diff --git a/templates/feature/agl-egvirt/50_local.conf.inc b/templates/feature/agl-egvirt/50_local.conf.inc
index dbe544bd..3062504d 100644
--- a/templates/feature/agl-egvirt/50_local.conf.inc
+++ b/templates/feature/agl-egvirt/50_local.conf.inc
@@ -1,11 +1,3 @@
-# gstreamer1.0-plugins-bad contains:
-# * videoparsersbad plugin which contains h264parse element needed to demonstrate H.264 hardware decoding
-# * waylandsink plugin
-MACHINE_EXTRA_RDEPENDS:append = " \
- kernel-module-virtio-video \
- gstreamer1.0-plugins-bad \
-"
+#see meta-agl-devel/meta-egvirt/conf/include/agl-egvirt.inc
+require conf/include/agl-egvirt.inc
-MACHINE_EXTRA_RDEPENDS:append = " \
- kernel-module-virtio-can \
-"