optee_rust: Generalize Rust examples build support

First of all since Rust examples have been tested for Arm targets, so
just enable them for Arm platforms only. Further to support different
build configurations for host applications and TAs, the Rust examples
build have been generalized. So now we only need to define following
environment variables to build Rust examples:

- TARGET_HOST: Rust toolchain target for host applications.
- TARGET_TA: Rust toolchain target for TAs.
- CROSS_COMPILE_HOST: GCC cross compiler path for host applications.
- CROSS_COMPILE_TA: GCC cross compiler path for TAs
- TA_DEV_KIT_DIR: Path to OP-TEE TA development kit directory.
- OPTEE_CLIENT_EXPORT: Path to OP-TEE client export directory.

Along with that the config option to enable Rust examples is renamed:
s/OPTEE_RUST_ENABLE/RUST_ENABLE/.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (vexpress-qemu_armv8a)
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
3 files changed
tree: 23c836b7c97b62acfebba4a3a7d0eedca6f2ad03
  1. .github/
  2. br-ext/
  3. fvp/
  4. imx/
  5. kconfigs/
  6. qemu_v8/
  7. rpi3/
  8. ti/
  9. versal/
  10. zynqmp/
  11. .gitignore
  12. am43xx.mk
  13. am57xx.mk
  14. common.mk
  15. dra7xx.mk
  16. fvp-psa-sp.mk
  17. fvp.mk
  18. get_clang.sh
  19. hikey.mk
  20. hikey960.mk
  21. imx.mk
  22. juno.mk
  23. poplar.mk
  24. qemu-check.exp
  25. qemu.mk
  26. qemu_v8.mk
  27. README.md
  28. rockpi4.mk
  29. rpi3.mk
  30. soc_term.py
  31. stm32mp1.mk
  32. synquacer.mk
  33. toolchain.mk
  34. trusted-keys.exp
  35. trusted-services.mk
  36. verdin.mk
  37. versal.mk
  38. zynqmp.mk
README.md

OP-TEE build.git

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