From d73e794c7e7ebb1cc5bf495a52a72b26fb118250 Mon Sep 17 00:00:00 2001 From: "sivasubramanian.patchaiperumal" Date: Tue, 9 Jan 2018 14:46:31 +0000 Subject: optee-os: fix 32bit version for 32/64 bit mixed optee support Change-Id: Ib608f004423334992608091d0ba84f4c14601b1f Signed-off-by: sivasubramanian.patchaiperumal --- meta-optee/recipes-security/optee/optee-os_git.bb | 4 ++-- 1 file 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} \ " -- cgit v1.2.3