diff options
Diffstat (limited to 'recipes-security/optee/optee-test-qoriq_3.8.0.bb')
-rw-r--r-- | recipes-security/optee/optee-test-qoriq_3.8.0.bb | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/recipes-security/optee/optee-test-qoriq_3.8.0.bb b/recipes-security/optee/optee-test-qoriq_3.8.0.bb deleted file mode 100644 index 52cb1bbf..00000000 --- a/recipes-security/optee/optee-test-qoriq_3.8.0.bb +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | SUMMARY = "OP-TEE sanity testsuite" | ||
2 | HOMEPAGE = "https://github.com/OP-TEE/optee_test" | ||
3 | |||
4 | LICENSE = "BSD & GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://${S}/LICENSE.md;md5=daa2bcccc666345ab8940aab1315a4fa" | ||
6 | |||
7 | DEPENDS = "optee-client-qoriq optee-os-qoriq python3-pycryptodome-native python3-pycryptodomex-native" | ||
8 | |||
9 | inherit python3native | ||
10 | |||
11 | SRC_URI = "git://github.com/OP-TEE/optee_test;nobranch=1" | ||
12 | SRCREV = "30481e381cb4285706e7516853495a7699c93b2c" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | OPTEE_CLIENT_EXPORT = "${STAGING_DIR_HOST}${prefix}" | ||
17 | TEEC_EXPORT = "${STAGING_DIR_HOST}${prefix}" | ||
18 | TA_DEV_KIT_DIR = "${STAGING_INCDIR}/optee/export-user_ta" | ||
19 | |||
20 | EXTRA_OEMAKE = " TA_DEV_KIT_DIR=${TA_DEV_KIT_DIR} \ | ||
21 | OPTEE_CLIENT_EXPORT=${OPTEE_CLIENT_EXPORT} \ | ||
22 | CFG_ARM64=y \ | ||
23 | CROSS_COMPILE_HOST=${TARGET_PREFIX} \ | ||
24 | CROSS_COMPILE_TA=${TARGET_PREFIX} \ | ||
25 | V=1 \ | ||
26 | " | ||
27 | |||
28 | do_compile() { | ||
29 | # Top level makefile doesn't seem to handle parallel make gracefully | ||
30 | oe_runmake xtest | ||
31 | oe_runmake ta | ||
32 | } | ||
33 | |||
34 | do_install () { | ||
35 | install -D -p -m0755 ${S}/out/xtest/xtest ${D}${bindir}/xtest | ||
36 | |||
37 | # install path should match the value set in optee-client/tee-supplicant | ||
38 | # default TEEC_LOAD_PATH is /lib | ||
39 | mkdir -p ${D}/lib/optee_armtz/ | ||
40 | install -D -p -m0444 ${S}/out/ta/*/*.ta ${D}/lib/optee_armtz/ | ||
41 | } | ||
42 | |||
43 | FILES:${PN} += "/lib/optee_armtz/" | ||
44 | |||
45 | # Imports machine specific configs from staging to build | ||
46 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
47 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | ||