diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2022-02-16 11:54:36 -0600 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2022-02-24 13:32:53 -0600 |
commit | 9e67b70994ac094d36b05050cf68552fa5396803 (patch) | |
tree | 8b75483a6ef31c8863f9b48067fc623dee6f3c57 /recipes-security/optee-imx/optee-test_3.10.0.imx.bb | |
parent | 71e49a7aef4ed44f085de05f31fa3671a95b80f6 (diff) | |
download | meta-freescale-9e67b70994ac094d36b05050cf68552fa5396803.tar.gz |
optee-test: Upgrade 3.10.0.imx -> 3.15.0.imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-security/optee-imx/optee-test_3.10.0.imx.bb')
-rw-r--r-- | recipes-security/optee-imx/optee-test_3.10.0.imx.bb | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/recipes-security/optee-imx/optee-test_3.10.0.imx.bb b/recipes-security/optee-imx/optee-test_3.10.0.imx.bb deleted file mode 100644 index 53951787..00000000 --- a/recipes-security/optee-imx/optee-test_3.10.0.imx.bb +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | # Copyright (C) 2017-2020 NXP | ||
2 | |||
3 | SUMMARY = "OPTEE test" | ||
4 | HOMEPAGE = "http://www.optee.org/" | ||
5 | |||
6 | LICENSE = "BSD-2-Clause" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=daa2bcccc666345ab8940aab1315a4fa" | ||
8 | |||
9 | DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native optee-os optee-client openssl" | ||
10 | |||
11 | SRCBRANCH = "imx_5.4.70_2.3.0" | ||
12 | |||
13 | SRC_URI = "git://source.codeaurora.org/external/imx/imx-optee-test.git;protocol=https;branch=${SRCBRANCH}" | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | B = "${WORKDIR}/build" | ||
17 | |||
18 | SRCREV = "0c998f42a3fb87b9f2929955cf4b0116cc515091" | ||
19 | |||
20 | inherit python3native | ||
21 | |||
22 | OPTEE_ARCH ?= "arm32" | ||
23 | OPTEE_ARCH:armv7a = "arm32" | ||
24 | OPTEE_ARCH:aarch64 = "arm64" | ||
25 | |||
26 | TA_DEV_KIT_DIR:arm = "${STAGING_INCDIR}/optee/export-user_ta_arm32/" | ||
27 | TA_DEV_KIT_DIR:aarch64 = "${STAGING_INCDIR}/optee/export-user_ta_arm64/" | ||
28 | |||
29 | CFLAGS += "--sysroot=${STAGING_DIR_HOST}" | ||
30 | CXXFLAGS += "--sysroot=${STAGING_DIR_HOST}" | ||
31 | |||
32 | EXTRA_OEMAKE = " \ | ||
33 | TA_DEV_KIT_DIR=${TA_DEV_KIT_DIR} \ | ||
34 | ARCH=${OPTEE_ARCH} \ | ||
35 | OPTEE_CLIENT_EXPORT=${STAGING_DIR_HOST}/usr \ | ||
36 | CROSS_COMPILE_HOST=${HOST_PREFIX} \ | ||
37 | CROSS_COMPILE_TA=${HOST_PREFIX} \ | ||
38 | CROSS_COMPILE=${HOST_PREFIX} \ | ||
39 | OPTEE_OPENSSL_EXPORT=${STAGING_INCDIR}/ \ | ||
40 | -C ${S} O=${B} \ | ||
41 | " | ||
42 | |||
43 | do_compile() { | ||
44 | cd ${S} | ||
45 | # Top level makefile doesn't seem to handle parallel make gracefully | ||
46 | oe_runmake xtest | ||
47 | oe_runmake ta | ||
48 | } | ||
49 | do_compile[cleandirs] = "${B}" | ||
50 | |||
51 | do_install () { | ||
52 | install -d ${D}${bindir} | ||
53 | install ${B}/xtest/xtest ${D}${bindir} | ||
54 | |||
55 | install -d ${D}${nonarch_base_libdir}/optee_armtz | ||
56 | find ${B}/ta -name '*.ta' | while read name; do | ||
57 | install -m 444 $name ${D}${nonarch_base_libdir}/optee_armtz/ | ||
58 | done | ||
59 | } | ||
60 | |||
61 | FILES:${PN} += "${nonarch_base_libdir}/optee_armtz/" | ||
62 | |||
63 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||