| commit | f467ad36bec5b06b38f936b020a59543cbc632a7 | [log] [tgz] |
|---|---|---|
| author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | Fri Jan 05 09:47:43 2024 +0100 |
| committer | Jérôme Forissier <jerome@forissier.org> | Mon Jan 08 14:43:23 2024 +0100 |
| tree | 3e4400953100e1aa6bce5613d58aeeb533443916 | |
| parent | 5448e224fb594edda13985f47bd22b746eee0711 [diff] |
tee-supplicant: fix build with kernel < 4.16 Commit 3ac968ee7c927271e83ea3a4247839649202ab5e moved linux/tee.h from libteec/include to libteec/src resulting in the following build failure with any kernel < 4.16 (i.e before https://github.com/torvalds/linux/commit/033ddf12bcf5326b93bd604f50a7474a434a35f9): /home/buildroot/autobuild/instance-3/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c: In function 'register_local_shm': /home/buildroot/autobuild/instance-3/output-1/build/optee-client-4.0.0/tee-supplicant/src/tee_supplicant.c:356:44: error: storage size of 'data' isn't known 356 | struct tee_ioctl_shm_register_data data; | ^~~~ To fix this build failure, update CMakeLists.txt and Makefile of tee-supplicant to add libteec/src to the include directories. Fixes: 3ac968ee7c92 ("Makefile, cmake: move teec related headers") Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
This git contains source code for the non-secure side implementation of the OP-TEE project making up the client library and tee-supplicant.
All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_client.
// OP-TEE core maintainers