From c5045c8c29752ec333866886cd348ec4057988a1 Mon Sep 17 00:00:00 2001 From: Nikhil Devshatwar Date: Fri, 6 Mar 2020 21:08:53 +0000 Subject: recipes-bsp: ivshmem-uio-tests: New recipe for ivshmem test apps uio_send and uio_read are the applications used for communication between different Virtual Machines using the ivshmem protocol. Signed-off-by: Nikhil Devshatwar Signed-off-by: Denys Dmytriyenko --- recipes-bsp/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 diff --git a/recipes-bsp/ivshmem-uio/ivshmem-uio-tests_git.bb b/recipes-bsp/ivshmem-uio/ivshmem-uio-tests_git.bb new file mode 100644 index 00000000..997b8c48 --- /dev/null +++ b/recipes-bsp/ivshmem-uio/ivshmem-uio-tests_git.bb @@ -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}/ +} -- cgit v1.2.3-54-g00ecf