1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 19:53:43 +00:00
Files
meta-ti/recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb
Denys Dmytriyenko 256be65a21 uio-module-drv-test: replace machine override with SOC override
This package is now used for multiple omap-a15 SOCs, having only single machine
covered in overrides breaks other machines.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-03 22:14:11 -04:00

31 lines
724 B
BlitzBasic

DESCRIPTION = "Test code for user space IO (UIO) driver"
include uio-module-drv.inc
PR = "r2"
COMPATIBLE_MACHINE = "keystone|omap-a15"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEVICE_NAME_omap-a15 = "am57xx"
DEVICE_NAME_keystone = "keystone"
RDEPENDS_${PN} = "uio-module-drv"
do_compile() {
oe_runmake -C ${S} test "DEVICE=${DEVICE_NAME}"
}
do_install() {
install -d ${D}${bindir}/
install -c -m 755 ${S}/test/uio_mem_test ${D}${bindir}/.
install -c -m 755 ${S}/test/uio_int_test ${D}${bindir}/.
}
do_install_append_keystone () {
install -c -m 755 ${S}/test/uio_cic2_int_multithread_test ${D}${bindir}/.
}
do_install_append_omap-a15 () {
install -c -m 755 ${S}/test/prussdrv_test/test/pruss_uio_test ${D}${bindir}/.
}