summaryrefslogtreecommitdiffstats
path: root/recipes-security/optee-imx/optee-fslc.inc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2023-05-02 12:56:54 -0300
committerGitHub <noreply@github.com>2023-05-02 12:56:54 -0300
commit465598263e416459f36a49c396133e44574c528e (patch)
tree85ac41f4ac59a1d7e66d91b6e048c69d752e7161 /recipes-security/optee-imx/optee-fslc.inc
parent91a9885b98de7dcb7de9551d7a5d5f1b9da651c8 (diff)
parente2bef5cbf00ae9d704ee5e7d5fa5ad94e818319b (diff)
downloadmeta-freescale-465598263e416459f36a49c396133e44574c528e.tar.gz
Merge pull request #1521 from Freescale/backport-1518-to-mickledore
[Backport mickledore] Update optee* to NXP BSP release L6.1.1-1.0.0
Diffstat (limited to 'recipes-security/optee-imx/optee-fslc.inc')
-rw-r--r--recipes-security/optee-imx/optee-fslc.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-security/optee-imx/optee-fslc.inc b/recipes-security/optee-imx/optee-fslc.inc
new file mode 100644
index 00000000..6c96dc2b
--- /dev/null
+++ b/recipes-security/optee-imx/optee-fslc.inc
@@ -0,0 +1,26 @@
1HOMEPAGE = "http://www.optee.org/"
2
3inherit python3native features_check
4
5REQUIRED_MACHINE_FEATURES = "optee"
6
7DEPENDS = "python3-cryptography-native"
8
9S = "${WORKDIR}/git"
10B = "${WORKDIR}/build"
11
12OPTEE_ARCH:arm = "arm32"
13OPTEE_ARCH:aarch64 = "arm64"
14
15COMPILER ?= "gcc"
16COMPILER:toolchain-clang = "clang"
17
18CFLAGS += "--sysroot=${STAGING_DIR_HOST}"
19CXXFLAGS += "--sysroot=${STAGING_DIR_HOST}"
20
21EXTRA_OEMAKE = " \
22 COMPILER=${COMPILER} \
23 OPENSSL_MODULES=${STAGING_LIBDIR_NATIVE}/ossl-modules \
24 OPTEE_CLIENT_EXPORT=${STAGING_DIR_HOST}${exec_prefix} \
25 -C ${S} O=${B} \
26"