diff options
Diffstat (limited to 'recipes-bsp/libuio')
| -rw-r--r-- | recipes-bsp/libuio/libuio/run-ptest | 3 | ||||
| -rw-r--r-- | recipes-bsp/libuio/libuio_git.bb | 27 |
2 files changed, 30 insertions, 0 deletions
diff --git a/recipes-bsp/libuio/libuio/run-ptest b/recipes-bsp/libuio/libuio/run-ptest new file mode 100644 index 0000000..46c80b5 --- /dev/null +++ b/recipes-bsp/libuio/libuio/run-ptest | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | echo "SKIP: no upstream test" | ||
| 3 | |||
diff --git a/recipes-bsp/libuio/libuio_git.bb b/recipes-bsp/libuio/libuio_git.bb new file mode 100644 index 0000000..6b004c7 --- /dev/null +++ b/recipes-bsp/libuio/libuio_git.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | SUMMARY = "libUIO" | ||
| 2 | DESCRIPTION = "Provide a generic framework for handling devices in userspace." | ||
| 3 | HOMEPAGE = "https://www.osadl.org/UIO.uio.0.html" | ||
| 4 | SECTION = "libs" | ||
| 5 | LICENSE = "GPLv2" | ||
| 6 | |||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
| 8 | |||
| 9 | SRCREV = "cc233857ba1613801e7218d07127d19608a99702" | ||
| 10 | PR = "r0" | ||
| 11 | PV = "1.0+git${SRCPV}" | ||
| 12 | |||
| 13 | SRC_URI = "git://git.linutronix.de/projects/libUIO;protocol=git \ | ||
| 14 | file://run-ptest" | ||
| 15 | |||
| 16 | DEPENDS = "virtual/libc" | ||
| 17 | |||
| 18 | S = "${WORKDIR}/git" | ||
| 19 | |||
| 20 | inherit autotools | ||
| 21 | |||
| 22 | do_install_append () { | ||
| 23 | if [ "${PN}" = "${BPN}" -a ${PTEST_ENABLED} = "1" ]; then | ||
| 24 | mkdir -p ${D}${PTEST_PATH} | ||
| 25 | install -m 0755 ${WORKDIR}/run-ptest ${D}${PTEST_PATH} | ||
| 26 | fi | ||
| 27 | } | ||
