summaryrefslogtreecommitdiffstats
path: root/recipes-security/optee-imx/optee-fslc.inc
diff options
context:
space:
mode:
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"