Skip to contentSkip to conversation

recipes-bsp: ivshmem-uio-tests: New recipe for ivshmem test apps

PATCH New Nikhil Devshatwar 1 participant 1 message Mar 6, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 recipes-bsp: ivshmem-uio-tests: New recipe for ivshmem test apps

From: Nikhil Devshatwar <[email protected]>

uio_send and uio_read are the applications used for communication between different Virtual Machines using the ivshmem protocol.

---
 .../ivshmem-uio/ivshmem-uio-tests_git.bb      | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 recipes-bsp/ivshmem-uio/ivshmem-uio-tests_git.bb
recipes-bsp/ivshmem-uio/ivshmem-uio-tests_git.bb new file +23 -0
new file mode 100644
index 00000000..997b8c48
@@ -0,0 +1,23 @@
+SUMMARY =  "UIO tests for IVSHMEM based UIO driver"
+DESCRIPTION = "Test programs which use UIO (userspace io) device for inter VM communication"
+HOMEPAGE = "https://github.com/henning-schild-work/ivshmem-guest-code"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=0546a27aad86c83b75ad4ee6133e9d5e"
+
+inherit cmake
+
+PROTOCOL = "git"
+BRANCH = "jailhouse"
+SRCREV = "f3ad79881bebb6c6068966ee3d265d8034c20492"
+SRC_URI = "git://github.com/henning-schild-work/ivshmem-guest-code.git;protocol=${PROTOCOL};branch=${BRANCH}"
+
+S = "${WORKDIR}/git/uio/tests/Interrupts/VM"
+
+COMPATIBLE_MACHINE = "(ti-soc)"
+OECMAKE_TARGET_COMPILE = "uio_send uio_read"
+
+do_install() {
+    install -d ${D}/${bindir}
+    install -m 755 ${B}/uio_send ${D}/${bindir}/
+    install -m 755 ${B}/uio_read ${D}/${bindir}/
+}
Signature · 1 line
2.17.1