aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsivasubramanian.patchaiperumal <sivasubramanian.patchaiperumal@linaro.org>2018-01-09 14:46:31 +0000
committerFathi Boudra <fathi.boudra@linaro.org>2018-03-01 11:30:13 +0000
commitd73e794c7e7ebb1cc5bf495a52a72b26fb118250 (patch)
tree86267c51b06bbca6aad407babc8d1bf1df8f01bb
parent440907a7dfd5142ed5a3b5957dc06881fab7ce89 (diff)
optee-os: fix 32bit version for 32/64 bit mixed optee supportmorty
Change-Id: Ib608f004423334992608091d0ba84f4c14601b1f Signed-off-by: sivasubramanian.patchaiperumal <sivasubramanian.patchaiperumal@linaro.org>
-rw-r--r--meta-optee/recipes-security/optee/optee-os_git.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-optee/recipes-security/optee/optee-os_git.bb b/meta-optee/recipes-security/optee/optee-os_git.bb
index 44ce69e5..c44f9d57 100644
--- a/meta-optee/recipes-security/optee/optee-os_git.bb
+++ b/meta-optee/recipes-security/optee/optee-os_git.bb
@@ -21,11 +21,11 @@ S = "${WORKDIR}/git"
OPTEEMACHINE ?= "${MACHINE}"
OPTEEOUTPUTMACHINE ?= "${MACHINE}"
-EXTRA_OEMAKE = "PLATFORM=${OPTEEMACHINE} CFG_ARM64_core=y \
+EXTRA_OEMAKE = "PLATFORM=${OPTEEMACHINE} \
CROSS_COMPILE_core=${HOST_PREFIX} \
CROSS_COMPILE_ta_arm64=${HOST_PREFIX} \
+ ${@bb.utils.contains('TUNE_FEATURES', 'aarch64', 'CFG_ARM64_core=y ta-targets=ta_arm64', 'CFG_ARM32_core=y CROSS_COMPILE_ta_arm32=${HOST_PREFIX}', d)} \
NOWERROR=1 \
- ta-targets=ta_arm64 \
LDFLAGS= \
LIBGCC_LOCATE_CFLAGS=--sysroot=${STAGING_DIR_HOST} \
"