]> code.ossystems Code Review - meta-freescale.git/commit
optee-client: fix build architecture for aarch64
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Sun, 31 May 2020 21:50:41 +0000 (21:50 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Sun, 31 May 2020 23:09:03 +0000 (20:09 -0300)
commitfb5ad362adeba61877f7a697db0acc495abddf2b
tree3f2b46ce534676cbadf505d70e72f5e5d7ed17aa
parentbc89daba19c0fa10d75da7fe29f8ef9333156b5c
optee-client: fix build architecture for aarch64

Overridden do_compile() task relies on an old DEFAULTTUNE set to
identify if the build should target arm32 or arm64 architecture, and has
a direct comparison to the generic tune. Since aarch64 tune for some
derivatives has been switched to a more specialized types (cortexa53-crypto),
this causes the check to fail and build defaults to arm32, which is not
desired behavior.

Define OPTEE_ARCH to a proper value based on machine overrides, drop the
task override and use standard Yocto mechanisms to provide additional
parameters to make.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
recipes-security/optee-imx/optee-client_3.2.0.imx.bb