diff options
Diffstat (limited to 'recipes-security/optee-imx/optee-fslc.inc')
-rw-r--r-- | recipes-security/optee-imx/optee-fslc.inc | 26 |
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 @@ | |||
1 | HOMEPAGE = "http://www.optee.org/" | ||
2 | |||
3 | inherit python3native features_check | ||
4 | |||
5 | REQUIRED_MACHINE_FEATURES = "optee" | ||
6 | |||
7 | DEPENDS = "python3-cryptography-native" | ||
8 | |||
9 | S = "${WORKDIR}/git" | ||
10 | B = "${WORKDIR}/build" | ||
11 | |||
12 | OPTEE_ARCH:arm = "arm32" | ||
13 | OPTEE_ARCH:aarch64 = "arm64" | ||
14 | |||
15 | COMPILER ?= "gcc" | ||
16 | COMPILER:toolchain-clang = "clang" | ||
17 | |||
18 | CFLAGS += "--sysroot=${STAGING_DIR_HOST}" | ||
19 | CXXFLAGS += "--sysroot=${STAGING_DIR_HOST}" | ||
20 | |||
21 | EXTRA_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 | " | ||