diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2022-05-12 17:33:29 -0500 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2022-05-12 23:39:09 +0000 |
commit | 5b110699e2e7e84bebda0051637992ca0b392ccb (patch) | |
tree | 1ca28b3b1b58a3b4a0ce082315144639763dcf2f /recipes-security/optee-imx | |
parent | 21da2f0b0713cd9993b9986765c9b4dfd1970c43 (diff) | |
download | meta-freescale-5b110699e2e7e84bebda0051637992ca0b392ccb.tar.gz |
optee-test: Upgrade to NXP 5.15.5-1.0.0
- Fix hard-coded /usr with exec_prefix variable
- Parallel make works, remove work around
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit a11a0895a4b16ba5ae31693feff379e3de646045)
Diffstat (limited to 'recipes-security/optee-imx')
-rw-r--r-- | recipes-security/optee-imx/optee-test_3.15.0.imx.bb | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/recipes-security/optee-imx/optee-test_3.15.0.imx.bb b/recipes-security/optee-imx/optee-test_3.15.0.imx.bb index 1d6de243..a44454a7 100644 --- a/recipes-security/optee-imx/optee-test_3.15.0.imx.bb +++ b/recipes-security/optee-imx/optee-test_3.15.0.imx.bb | |||
@@ -8,14 +8,14 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=daa2bcccc666345ab8940aab1315a4fa" | |||
8 | 8 | ||
9 | DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native optee-os optee-client openssl" | 9 | DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native optee-os optee-client openssl" |
10 | 10 | ||
11 | SRCBRANCH = "lf-5.10.72_2.2.0" | 11 | SRCBRANCH = "lf-5.15.5_1.0.0" |
12 | 12 | ||
13 | SRC_URI = "git://source.codeaurora.org/external/imx/imx-optee-test.git;protocol=https;branch=${SRCBRANCH}" | 13 | SRC_URI = "git://source.codeaurora.org/external/imx/imx-optee-test.git;protocol=https;branch=${SRCBRANCH}" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
16 | B = "${WORKDIR}/build" | 16 | B = "${WORKDIR}/build" |
17 | 17 | ||
18 | SRCREV = "4d81b964a72e89a62d04187b3f055d8346b383c9" | 18 | SRCREV = "e9d8bf6ee121d6686e6e409c727caee76496bb86" |
19 | 19 | ||
20 | inherit python3native features_check | 20 | inherit python3native features_check |
21 | 21 | ||
@@ -34,7 +34,7 @@ CXXFLAGS += "--sysroot=${STAGING_DIR_HOST}" | |||
34 | EXTRA_OEMAKE = " \ | 34 | EXTRA_OEMAKE = " \ |
35 | TA_DEV_KIT_DIR=${TA_DEV_KIT_DIR} \ | 35 | TA_DEV_KIT_DIR=${TA_DEV_KIT_DIR} \ |
36 | ARCH=${OPTEE_ARCH} \ | 36 | ARCH=${OPTEE_ARCH} \ |
37 | OPTEE_CLIENT_EXPORT=${STAGING_DIR_HOST}/usr \ | 37 | OPTEE_CLIENT_EXPORT=${STAGING_DIR_HOST}${exec_prefix} \ |
38 | CROSS_COMPILE_HOST=${HOST_PREFIX} \ | 38 | CROSS_COMPILE_HOST=${HOST_PREFIX} \ |
39 | CROSS_COMPILE_TA=${HOST_PREFIX} \ | 39 | CROSS_COMPILE_TA=${HOST_PREFIX} \ |
40 | CROSS_COMPILE=${HOST_PREFIX} \ | 40 | CROSS_COMPILE=${HOST_PREFIX} \ |
@@ -42,11 +42,7 @@ EXTRA_OEMAKE = " \ | |||
42 | " | 42 | " |
43 | 43 | ||
44 | do_compile() { | 44 | do_compile() { |
45 | cd ${S} | 45 | oe_runmake all |
46 | # Top level makefile doesn't seem to handle parallel make gracefully | ||
47 | oe_runmake xtest | ||
48 | oe_runmake ta | ||
49 | oe_runmake test_plugin | ||
50 | } | 46 | } |
51 | do_compile[cleandirs] = "${B}" | 47 | do_compile[cleandirs] = "${B}" |
52 | 48 | ||