summaryrefslogtreecommitdiffstats
path: root/meta-egvirt/recipes-virtioloopback/virtio-loopback-adapter
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 18:49:37 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-10-13 10:55:10 +0000
commit675f3f79e39be402065fb6c9fcfba2a9f5693a0a (patch)
treefdb642eaa7b8c5dbca2589e505edac5b755bd8e9 /meta-egvirt/recipes-virtioloopback/virtio-loopback-adapter
parent02527a5a7c09ddebe16cec088796b7224fd4e88c (diff)
virtio-loopback: Update upstream to epsilon branches
These is the prerequisite work to enable support for feature vhost-devices on the adapter (gpu, sound, gpio) v2: Add sound support on virtio-loopback-adapter v2: Update recipe names of adapter and loopbackdriver with virtio- prefixes v2: Update recipes URI location to AGL-gerrit servers Change-Id: I15b45d37f0726864629749e8cb77dd6cf6d03628 Signed-off-by: Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com>
Diffstat (limited to 'meta-egvirt/recipes-virtioloopback/virtio-loopback-adapter')
-rw-r--r--meta-egvirt/recipes-virtioloopback/virtio-loopback-adapter/virtio-loopback-adapter.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-egvirt/recipes-virtioloopback/virtio-loopback-adapter/virtio-loopback-adapter.bb b/meta-egvirt/recipes-virtioloopback/virtio-loopback-adapter/virtio-loopback-adapter.bb
new file mode 100644
index 00000000..6cce646d
--- /dev/null
+++ b/meta-egvirt/recipes-virtioloopback/virtio-loopback-adapter/virtio-loopback-adapter.bb
@@ -0,0 +1,24 @@
+SUMMARY = "Virtio-loopback-adapter application"
+DESCRIPTION = "Adapter bridge for virtio-loopback"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://README.md;md5=ecc9c54ada6f0c33054d3bde010744f7"
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-${PV}:"
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/virtio/adapter_app;protocol=https;branch=master"
+SRCREV = "ddc98ee7562fa01abbd4d1b027efd5e98ceb93bf"
+
+S = "${WORKDIR}/git"
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+do_compile() {
+ cd ${S}
+ make
+}
+
+do_install() {
+ mkdir ${D}/usr/bin/ -p
+ install -m 0755 ${S}/adapter ${D}/usr/bin/virtio-loopback-adapter
+}
+
+DEPENDS = ""
+FILES:${PN} += "/usr/bin/virtio-loopback-adapter"