Home
last modified time | relevance | path

Searched hist:"71 f2c921033dd6063ecc4854e0f596767de02eb7" (Results 1 – 1 of 1) sorted by relevance

/optee_os/mk/
H A Dclang.mk71f2c921033dd6063ecc4854e0f596767de02eb7 Tue Aug 16 13:59:38 UTC 2022 Jerome Forissier <jerome.forissier@linaro.org> clang.mk: fix build on AArch64 host

When building on an AArch64 host and using OP-TEE's build.git [1], the
AArch64 cross compiler prefix is "aarch64-linux-" instead of the usual
"aarch64-linux-gnu-". This happens due to [2]. Clang still expects
--target=aarch64-linux-gnu so for convenience map the prefix accordingly
in mk/clang.mk.

Link: [1] https://github.com/OP-TEE/build.git
Link: [2] https://github.com/OP-TEE/build/blob/3.18.0/toolchain.mk#L97
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>