diff options
| -rw-r--r-- | recipes-security/optee-imx/optee-test_3.2.0.imx.bb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/recipes-security/optee-imx/optee-test_3.2.0.imx.bb b/recipes-security/optee-imx/optee-test_3.2.0.imx.bb index dc92511a7..c78f98169 100644 --- a/recipes-security/optee-imx/optee-test_3.2.0.imx.bb +++ b/recipes-security/optee-imx/optee-test_3.2.0.imx.bb | |||
| @@ -26,14 +26,14 @@ S = "${WORKDIR}/git" | |||
| 26 | 26 | ||
| 27 | SRCREV = "b7114b828b82f2c0eec124ed424eff1230cc5319" | 27 | SRCREV = "b7114b828b82f2c0eec124ed424eff1230cc5319" |
| 28 | 28 | ||
| 29 | OPTEE_ARCH ?= "arm32" | ||
| 30 | OPTEE_ARCH_armv7a = "arm32" | ||
| 31 | OPTEE_ARCH_aarch64 = "arm64" | ||
| 32 | |||
| 29 | do_compile () { | 33 | do_compile () { |
| 30 | if [ ${DEFAULTTUNE} = "aarch64" ];then | 34 | export TA_DEV_KIT_DIR=${STAGING_INCDIR}/optee/export-user_ta_${OPTEE_ARCH}/ |
| 31 | export TA_DEV_KIT_DIR=${STAGING_INCDIR}/optee/export-user_ta_arm64/ | 35 | export ARCH=${OPTEE_ARCH} |
| 32 | export ARCH=arm64 | 36 | |
| 33 | else | ||
| 34 | export TA_DEV_KIT_DIR=${STAGING_INCDIR}/optee/export-user_ta_arm32/ | ||
| 35 | export ARCH=arm | ||
| 36 | fi | ||
| 37 | export OPTEE_CLIENT_EXPORT=${STAGING_DIR_HOST}/usr | 37 | export OPTEE_CLIENT_EXPORT=${STAGING_DIR_HOST}/usr |
| 38 | export CROSS_COMPILE_HOST=${HOST_PREFIX} | 38 | export CROSS_COMPILE_HOST=${HOST_PREFIX} |
| 39 | export CROSS_COMPILE_TA=${HOST_PREFIX} | 39 | export CROSS_COMPILE_TA=${HOST_PREFIX} |
