summaryrefslogtreecommitdiffstats
path: root/meta-egvirt/recipes-virtioloopback
diff options
context:
space:
mode:
Diffstat (limited to 'meta-egvirt/recipes-virtioloopback')
-rw-r--r--meta-egvirt/recipes-virtioloopback/adapter/adapter.bb21
-rw-r--r--meta-egvirt/recipes-virtioloopback/rust-vhost-device/rust-vhost-device_git.bb16
2 files changed, 37 insertions, 0 deletions
diff --git a/meta-egvirt/recipes-virtioloopback/adapter/adapter.bb b/meta-egvirt/recipes-virtioloopback/adapter/adapter.bb
new file mode 100644
index 00000000..1cff4baf
--- /dev/null
+++ b/meta-egvirt/recipes-virtioloopback/adapter/adapter.bb
@@ -0,0 +1,21 @@
+SUMMARY = "Adapter application"
+DESCRIPTION = "Application description here"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://README.md;md5=ecc9c54ada6f0c33054d3bde010744f7"
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-${PV}:"
+SRC_URI = "git://git.virtualopensystems.com/virtio-loopback/adapter_app.git;protocol=https;rev=da82d88bd72cc9e11b4df11d0b594d3554a75d4f;branch=beta-release"
+S = "${WORKDIR}/git"
+
+do_compile() {
+ cd ${S}
+ make
+}
+
+do_install() {
+ mkdir ${D}/usr/bin/ -p
+ install -m 0755 ${S}/adapter ${D}/usr/bin/
+}
+
+DEPENDS = ""
+FILES:${PN} += "/usr/bin/adapter"
diff --git a/meta-egvirt/recipes-virtioloopback/rust-vhost-device/rust-vhost-device_git.bb b/meta-egvirt/recipes-virtioloopback/rust-vhost-device/rust-vhost-device_git.bb
new file mode 100644
index 00000000..1de6fa59
--- /dev/null
+++ b/meta-egvirt/recipes-virtioloopback/rust-vhost-device/rust-vhost-device_git.bb
@@ -0,0 +1,16 @@
+SUMMARY = "VHOST device in rust"
+HOMEPAGE = "https://git.virtualopensystems.com/virtio-loopback/vhost-user-rng-rust/vhost-device"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM="file://README.md;md5=b92c66b94b87c250f37ea0234c9e2d9a"
+
+inherit cargo
+
+SRC_URI = "git://git.virtualopensystems.com/virtio-loopback/vhost-user-rng-rust/vhost-device.git;protocol=https;rev=9ff74d7bbc71852b020f62c3663faca41595d4a9"
+SRC_URI += "git://git.virtualopensystems.com/virtio-loopback/vhost-user-rng-rust/vhost.git;protocol=https;rev=89fcc56b86b1f165c5b00144df26430a07e1a051;destsuffix=vhost"
+SRC_URI += "git://git.virtualopensystems.com/virtio-loopback/vhost-user-rng-rust/vhost-user-backend.git;protocol=https;rev=78ce5fc3ba73e5ac359dcd030b1e8b08ee7e9f2c;destsuffix=vhost-user-backend"
+SRC_URI += "git://git.virtualopensystems.com/virtio-loopback/vhost-user-rng-rust/vm-virtio.git;protocol=https;rev=edb16fd8900c14c17c3ab781160aac87813d3b4a;destsuffix=vm-virtio"
+
+S = "${WORKDIR}/git"
+
+BBCLASSEXTEND = "native"
+CARGO_DISABLE_BITBAKE_VENDORING = "1"