diff options
| author | Zelan Zou <zelan.zou@nxp.com> | 2026-03-20 14:39:11 +0800 |
|---|---|---|
| committer | Zelan Zou <zelan.zou@nxp.com> | 2026-03-26 14:32:44 +0800 |
| commit | 8754515a5b9d046279440343acd1c76185ce3de0 (patch) | |
| tree | 7a07d24b5b275acdb91fec30c895f608b9e8fa7f /recipes-security/optee-imx/optee-os-fslc.inc | |
| parent | 4ec28f7a670c5be6f9d9c9e799454c10c96f8237 (diff) | |
| download | meta-freescale-8754515a5b9d046279440343acd1c76185ce3de0.tar.gz | |
optee: Bump 4.6.0 -> 4.8.0
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
Diffstat (limited to 'recipes-security/optee-imx/optee-os-fslc.inc')
| -rw-r--r-- | recipes-security/optee-imx/optee-os-fslc.inc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/recipes-security/optee-imx/optee-os-fslc.inc b/recipes-security/optee-imx/optee-os-fslc.inc index 4df1617d1..febdd2c73 100644 --- a/recipes-security/optee-imx/optee-os-fslc.inc +++ b/recipes-security/optee-imx/optee-os-fslc.inc | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copied from meta-arm/recipes-security/optee/optee-os.inc. | 1 | # Copied from meta-arm/recipes-security/optee/optee-os.inc. |
| 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-walnascar/imx-6.12.20-2.0.0.xml#L30 | 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-whinlatter/imx-6.18.2-1.0.0.xml#L32 |
| 3 | 3 | ||
| 4 | SUMMARY = "OP-TEE Trusted OS" | 4 | SUMMARY = "OP-TEE Trusted OS" |
| 5 | DESCRIPTION = "Open Portable Trusted Execution Environment - Trusted side of the TEE" | 5 | DESCRIPTION = "Open Portable Trusted Execution Environment - Trusted side of the TEE" |
| @@ -15,7 +15,7 @@ CVE_PRODUCT = "linaro:op-tee op-tee:op-tee_os" | |||
| 15 | 15 | ||
| 16 | DEPENDS = "python3-pyelftools-native python3-cryptography-native" | 16 | DEPENDS = "python3-pyelftools-native python3-cryptography-native" |
| 17 | 17 | ||
| 18 | DEPENDS:append:toolchain-clang = " compiler-rt" | 18 | DEPENDS:append:toolchain-clang = " lld-native compiler-rt" |
| 19 | 19 | ||
| 20 | SRC_URI = "git://github.com/OP-TEE/optee_os.git;branch=master;protocol=https" | 20 | SRC_URI = "git://github.com/OP-TEE/optee_os.git;branch=master;protocol=https" |
| 21 | 21 | ||
| @@ -33,15 +33,14 @@ EXTRA_OEMAKE += " \ | |||
| 33 | EXTRA_OEMAKE += " HOST_PREFIX=${HOST_PREFIX}" | 33 | EXTRA_OEMAKE += " HOST_PREFIX=${HOST_PREFIX}" |
| 34 | EXTRA_OEMAKE += " CROSS_COMPILE64=${HOST_PREFIX}" | 34 | EXTRA_OEMAKE += " CROSS_COMPILE64=${HOST_PREFIX}" |
| 35 | 35 | ||
| 36 | # Enable BTI in optee | ||
| 37 | EXTRA_OEMAKE += "${@bb.utils.contains('MACHINE_FEATURES', 'arm-branch-protection', ' CFG_TA_BTI=1 CFG_CORE_PAUTH=y CFG_TA_PAUTH=y', '', d)}" | ||
| 38 | |||
| 36 | LDFLAGS[unexport] = "1" | 39 | LDFLAGS[unexport] = "1" |
| 37 | CPPFLAGS[unexport] = "1" | 40 | CPPFLAGS[unexport] = "1" |
| 38 | AS[unexport] = "1" | 41 | AS[unexport] = "1" |
| 39 | LD[unexport] = "1" | 42 | LD[unexport] = "1" |
| 40 | 43 | ||
| 41 | do_compile:prepend() { | ||
| 42 | PLAT_LIBGCC_PATH=$(${CC} -print-libgcc-file-name) | ||
| 43 | } | ||
| 44 | |||
| 45 | do_compile() { | 44 | do_compile() { |
| 46 | oe_runmake -C ${S} all | 45 | oe_runmake -C ${S} all |
| 47 | } | 46 | } |
