Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | require cryptodev_${PV}.inc |
| 2 | |
| 3 | SUMMARY = "A test suite for /dev/crypto device driver" |
| 4 | |
| 5 | DEPENDS += "openssl" |
| 6 | |
| 7 | SRC_URI += " \ |
| 8 | file://0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch \ |
| 9 | file://0002-Fix-tests-Makefile-usage-of-LDLIBS-vs.-LDFLAGS.patch \ |
| 10 | " |
| 11 | |
Patrick Williams | d7e9631 | 2015-09-22 08:09:05 -0500 | [diff] [blame] | 12 | EXTRA_OEMAKE='KERNEL_DIR="${STAGING_EXECPREFIXDIR}" PREFIX="${D}"' |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 13 | |
| 14 | do_compile() { |
| 15 | oe_runmake testprogs |
| 16 | } |
| 17 | |
| 18 | do_install() { |
| 19 | oe_runmake install_tests |
| 20 | } |
| 21 | |
| 22 | FILES_${PN}-dbg += "${bindir}/tests_cryptodev/.debug" |
| 23 | FILES_${PN} = "${bindir}/tests_cryptodev/*" |