commit | 990573e48a4eb7f950edf786fa9e67b5cc1823a9 | [log] [tgz] |
---|---|---|
author | Olivier Deprez <olivier.deprez@arm.com> | Mon Jul 08 14:16:28 2024 +0200 |
committer | Jerome Forissier <jerome@forissier.org> | Thu Oct 10 14:51:30 2024 +0200 |
tree | 685a26ef29e21abebf6fbb4bf37f1db9bd74b83c | |
parent | 0c249c77d333c4bdc461650e3bdba5c87a48f0dc [diff] |
common.mk: fix CCACHE handling OP-TEE build system defines the CCACHE variable as the host installed ccache tool path when ccache is installed [1]. When ccache is not installed the CCACHE variable is defined as single blank character. CROSS_COMPILE variable is prefixed with CCACHE as defined in [2]. TF-A v2.11 introduced a build system hardening implying CROSS_COMPILE must contain the exact toolchain path. For the case when ccache is not installed, CROSS_COMPILE gets an extra heading space and TF-A build breaks. Fix by defining CCACHE only when ccache is effectively installed and leave CCACHE empty when ccache is not installed. [1] https://github.com/OP-TEE/build/blob/0c249c77d333c4bdc461650e3bdba5c87a48f0dc/common.mk#L54 [2] https://github.com/OP-TEE/build/blob/b80d8cb05ef6b789e536631f6e8d88118e8483b4/common.mk#L195 Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
This git contains makefiles etc to be able to build a full OP-TEE developer setup for the OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io. The pages that used to be here in this git can be found under build and Device specific information at he new location for the OP-TEE documentation.
// OP-TEE core maintainers