-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: Drop automatic OP-TEE modules build
Rather than automatically building OP-TEE OS and OP-TEE Client, we should ask users to build them for their particular platforms using whichever OP-TEE release they are targeting. Users just have to export paths for OP-TEE OS build artifacts via TA_DEV_KIT_DIR and for OP-TEE Client via OPTEE_CLIENT_EXPORT. This is the common practice followed by C counterparts like optee_test and optee_examples. Along with that it make OP-TEE rust examples compatible with build systems like Yocto etc. Regarding toolchains, we don't need to fetch them explicitly but rather users can use the distro cross compiler or the one they have installed on a particular location via CROSS_COMPILE environment variable. With that build command simplifies to just following: $ make CROSS_COMPILE=aarch64-linux-gnu- \ TA_DEV_KIT_DIR=<optee_os>/out/arm-plat-vexpress/export-ta_arm64/ \ OPTEE_CLIENT_EXPORT=<optee_client>/out/export/ Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
- Loading branch information
Showing
3 changed files
with
30 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters