summaryrefslogtreecommitdiffstats
path: root/meta-egvirt/recipes-virtioloopback/adapter
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2022-12-12 12:41:38 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-05-05 11:06:57 +0000
commit26cdf42b8a4d8f15768f93cf0895a359a3412638 (patch)
tree558b94b249cb5a1d243930e271185a232166767e /meta-egvirt/recipes-virtioloopback/adapter
parented880f1f9df5ac8b4e335862d5bdfcf6cc3cc584 (diff)
virtio-loopback: v5: Add recipes for virtio-loopback support
Includes the virtio-loopback kernel module, the adapter application, the vhost-user devices from QEMU and a Rust vhost-user-rng device implementation. v2: Update recipes to conform with the OE-Styleguide v3: Recipes fixes for generic builds v4: Generalize the recipes to build for different architectures v5: Update recipes to comply with the OE-Styleguide Change-Id: I67c14fd77e564c0aecdde40dc1cf7e893dae6de1 Signed-off-by: Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com>
Diffstat (limited to 'meta-egvirt/recipes-virtioloopback/adapter')
-rw-r--r--meta-egvirt/recipes-virtioloopback/adapter/adapter.bb21
1 files changed, 21 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"