diff options
Diffstat (limited to 'recipes-security/optee-imx/optee-os-fslc.inc')
| -rw-r--r-- | recipes-security/optee-imx/optee-os-fslc.inc | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/recipes-security/optee-imx/optee-os-fslc.inc b/recipes-security/optee-imx/optee-os-fslc.inc index c1f1f48f5..4df1617d1 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-scarthgap/imx-6.6.52-2.2.0.xml#L30 | 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-walnascar/imx-6.12.20-2.0.0.xml#L30 |
| 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" |
| @@ -19,7 +19,6 @@ DEPENDS:append:toolchain-clang = " 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 | ||
| 22 | S = "${WORKDIR}/git" | ||
| 23 | B = "${WORKDIR}/build" | 22 | B = "${WORKDIR}/build" |
| 24 | 23 | ||
| 25 | EXTRA_OEMAKE += " \ | 24 | EXTRA_OEMAKE += " \ |
| @@ -27,7 +26,7 @@ EXTRA_OEMAKE += " \ | |||
| 27 | CFG_${OPTEE_CORE}_core=y \ | 26 | CFG_${OPTEE_CORE}_core=y \ |
| 28 | CROSS_COMPILE_core=${HOST_PREFIX} \ | 27 | CROSS_COMPILE_core=${HOST_PREFIX} \ |
| 29 | CROSS_COMPILE_ta_${OPTEE_ARCH}=${HOST_PREFIX} \ | 28 | CROSS_COMPILE_ta_${OPTEE_ARCH}=${HOST_PREFIX} \ |
| 30 | NOWERROR=1 \ | 29 | AFLAGS="${CFLAGS}" \ |
| 31 | ta-targets=ta_${OPTEE_ARCH} \ | 30 | ta-targets=ta_${OPTEE_ARCH} \ |
| 32 | O=${B} \ | 31 | O=${B} \ |
| 33 | " | 32 | " |
| @@ -40,7 +39,7 @@ AS[unexport] = "1" | |||
| 40 | LD[unexport] = "1" | 39 | LD[unexport] = "1" |
| 41 | 40 | ||
| 42 | do_compile:prepend() { | 41 | do_compile:prepend() { |
| 43 | PLAT_LIBGCC_PATH=$(${CC} -print-libgcc-file-name) | 42 | PLAT_LIBGCC_PATH=$(${CC} -print-libgcc-file-name) |
| 44 | } | 43 | } |
| 45 | 44 | ||
| 46 | do_compile() { | 45 | do_compile() { |
| @@ -79,8 +78,5 @@ FILES:${PN}-ta = "${nonarch_base_libdir}/optee_armtz/*" | |||
| 79 | 78 | ||
| 80 | # note: "textrel" is not triggered on all archs | 79 | # note: "textrel" is not triggered on all archs |
| 81 | INSANE_SKIP:${PN} = "textrel" | 80 | INSANE_SKIP:${PN} = "textrel" |
| 82 | # Build paths are currently embedded | ||
| 83 | INSANE_SKIP:${PN} += "buildpaths" | ||
| 84 | INSANE_SKIP:${PN}-dev = "staticdev" | 81 | INSANE_SKIP:${PN}-dev = "staticdev" |
| 85 | INHIBIT_PACKAGE_STRIP = "1" | 82 | INHIBIT_PACKAGE_STRIP = "1" |
| 86 | |||
