diff options
| -rw-r--r-- | recipes-security/optee-imx/optee-client_3.2.0.imx.bb | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/recipes-security/optee-imx/optee-client_3.2.0.imx.bb b/recipes-security/optee-imx/optee-client_3.2.0.imx.bb index 707e82fde..d3607ed4d 100644 --- a/recipes-security/optee-imx/optee-client_3.2.0.imx.bb +++ b/recipes-security/optee-imx/optee-client_3.2.0.imx.bb | |||
| @@ -13,20 +13,16 @@ SRC_URI = "${OPTEE_CLIENT_SRC};branch=${SRCBRANCH}" | |||
| 13 | 13 | ||
| 14 | SRCREV = "71a9bef78fff2d5d4db8a2307d3b91e2aa671dc9" | 14 | SRCREV = "71a9bef78fff2d5d4db8a2307d3b91e2aa671dc9" |
| 15 | 15 | ||
| 16 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 17 | |||
| 18 | SRC_URI_append = " file://tee-supplicant.service" | 16 | SRC_URI_append = " file://tee-supplicant.service" |
| 19 | 17 | ||
| 20 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
| 21 | SYSTEMD_SERVICE_${PN} = "tee-supplicant.service" | 19 | SYSTEMD_SERVICE_${PN} = "tee-supplicant.service" |
| 22 | 20 | ||
| 23 | do_compile () { | 21 | OPTEE_ARCH ?= "arm32" |
| 24 | if [ ${DEFAULTTUNE} = "aarch64" ]; then | 22 | OPTEE_ARCH_armv7a = "arm32" |
| 25 | oe_runmake -C ${S} ARCH=arm64 | 23 | OPTEE_ARCH_aarch64 = "arm64" |
| 26 | else | 24 | |
| 27 | oe_runmake -C ${S} ARCH=arm | 25 | EXTRA_OEMAKE = "ARCH=${OPTEE_ARCH}" |
| 28 | fi | ||
| 29 | } | ||
| 30 | 26 | ||
| 31 | do_install () { | 27 | do_install () { |
| 32 | oe_runmake install | 28 | oe_runmake install |
