summaryrefslogtreecommitdiffstats
path: root/recipes-security/optee-imx/optee-os-fslc.inc
diff options
context:
space:
mode:
authorZelan Zou <zelan.zou@nxp.com>2026-03-20 14:39:11 +0800
committerZelan Zou <zelan.zou@nxp.com>2026-03-26 14:32:44 +0800
commit8754515a5b9d046279440343acd1c76185ce3de0 (patch)
tree7a07d24b5b275acdb91fec30c895f608b9e8fa7f /recipes-security/optee-imx/optee-os-fslc.inc
parent4ec28f7a670c5be6f9d9c9e799454c10c96f8237 (diff)
downloadmeta-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.inc11
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
4SUMMARY = "OP-TEE Trusted OS" 4SUMMARY = "OP-TEE Trusted OS"
5DESCRIPTION = "Open Portable Trusted Execution Environment - Trusted side of the TEE" 5DESCRIPTION = "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
16DEPENDS = "python3-pyelftools-native python3-cryptography-native" 16DEPENDS = "python3-pyelftools-native python3-cryptography-native"
17 17
18DEPENDS:append:toolchain-clang = " compiler-rt" 18DEPENDS:append:toolchain-clang = " lld-native compiler-rt"
19 19
20SRC_URI = "git://github.com/OP-TEE/optee_os.git;branch=master;protocol=https" 20SRC_URI = "git://github.com/OP-TEE/optee_os.git;branch=master;protocol=https"
21 21
@@ -33,15 +33,14 @@ EXTRA_OEMAKE += " \
33EXTRA_OEMAKE += " HOST_PREFIX=${HOST_PREFIX}" 33EXTRA_OEMAKE += " HOST_PREFIX=${HOST_PREFIX}"
34EXTRA_OEMAKE += " CROSS_COMPILE64=${HOST_PREFIX}" 34EXTRA_OEMAKE += " CROSS_COMPILE64=${HOST_PREFIX}"
35 35
36# Enable BTI in optee
37EXTRA_OEMAKE += "${@bb.utils.contains('MACHINE_FEATURES', 'arm-branch-protection', ' CFG_TA_BTI=1 CFG_CORE_PAUTH=y CFG_TA_PAUTH=y', '', d)}"
38
36LDFLAGS[unexport] = "1" 39LDFLAGS[unexport] = "1"
37CPPFLAGS[unexport] = "1" 40CPPFLAGS[unexport] = "1"
38AS[unexport] = "1" 41AS[unexport] = "1"
39LD[unexport] = "1" 42LD[unexport] = "1"
40 43
41do_compile:prepend() {
42 PLAT_LIBGCC_PATH=$(${CC} -print-libgcc-file-name)
43}
44
45do_compile() { 44do_compile() {
46 oe_runmake -C ${S} all 45 oe_runmake -C ${S} all
47} 46}