aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/cryptodev/cryptodev-qoriq-tests_1.8.bb
blob: 18bc3c5443f1240dd3f60cd86adbc718921bbd3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require cryptodev-qoriq_${PV}.inc

SUMMARY = "A test suite for /dev/crypto device driver"

DEPENDS += "openssl"

PROVIDES += "cryptodev-tests"

SRC_URI_append = " \
file://0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch \
"

EXTRA_OEMAKE='KERNEL_DIR="${STAGING_EXECPREFIXDIR}" DESTDIR="${D}"'

do_compile() {
	oe_runmake testprogs
}

do_install() {
	oe_runmake install_tests
}

FILES_${PN}-dbg += "${bindir}/tests_cryptodev/.debug"
FILES_${PN} = "${bindir}/tests_cryptodev/*"