Config.in 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. config BR2_TARGET_OPTEE_OS
  2. bool "optee_os"
  3. depends on BR2_ARM_CPU_ARMV8A || BR2_ARM_CPU_ARMV7A
  4. help
  5. OP-TEE OS provides the secure world boot image and the trust
  6. application development kit of the OP-TEE project. OP-TEE OS
  7. also provides generic trusted application one can embedded
  8. into its system.
  9. http://github.com/OP-TEE/optee_os
  10. if BR2_TARGET_OPTEE_OS
  11. choice
  12. prompt "OP-TEE OS version"
  13. default BR2_TARGET_OPTEE_OS_LATEST
  14. help
  15. Select the version of OP-TEE OS you want to use
  16. config BR2_TARGET_OPTEE_OS_LATEST
  17. bool "3.11.0"
  18. help
  19. Use the latest release tag from the OP-TEE OS official Git
  20. repository.
  21. config BR2_TARGET_OPTEE_OS_CUSTOM_GIT
  22. bool "Custom Git repository"
  23. help
  24. Use a custom version fetched from a Git repository.
  25. endchoice
  26. if BR2_TARGET_OPTEE_OS_CUSTOM_GIT
  27. config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_URL
  28. string "URL of custom repository"
  29. depends on BR2_TARGET_OPTEE_OS_CUSTOM_GIT
  30. help
  31. Specific location of the reference source tree Git
  32. repository.
  33. config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION
  34. string "Custom repository version"
  35. depends on BR2_TARGET_OPTEE_OS_CUSTOM_GIT
  36. help
  37. Revision to use in the typical format used by Git, i.e a
  38. SHA1 or a tag.
  39. endif
  40. config BR2_TARGET_OPTEE_OS_VERSION
  41. string
  42. default "3.11.0" if BR2_TARGET_OPTEE_OS_LATEST
  43. default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \
  44. if BR2_TARGET_OPTEE_OS_CUSTOM_GIT
  45. config BR2_TARGET_OPTEE_OS_CORE
  46. bool "Build core"
  47. default y
  48. help
  49. This option will build and install the OP-TEE core
  50. boot images.
  51. config BR2_TARGET_OPTEE_OS_SDK
  52. bool "Build TA devkit"
  53. default y
  54. help
  55. This option will build and install the OP-TEE development
  56. kit for building OP-TEE trusted application images. It is
  57. installed in the staging directory /lib/optee.
  58. config BR2_TARGET_OPTEE_OS_SERVICES
  59. bool "Build service TAs and libs"
  60. default y
  61. select BR2_TARGET_OPTEE_OS_CORE
  62. help
  63. This option installs the service trusted applications and
  64. trusted shared libraries built from OP-TEE OS source tree.
  65. These are installed in target /lib/optee_armtz directory
  66. as other trusted applications. At runtime OP-TEE OS can
  67. load these from this non-secure filesystem/directory into
  68. the secure world for execution.
  69. config BR2_TARGET_OPTEE_OS_PLATFORM
  70. string "Target platform (mandatory)"
  71. help
  72. Value for the mandated PLATFORM build directive provided to
  73. OP-TEE OS.
  74. config BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR
  75. string "Target platform flavor (optional)"
  76. help
  77. Value for the optional PLATFORM_FLAVOR build directive
  78. provided to OP-TEE OS.
  79. config BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES
  80. string "Additional build variables"
  81. help
  82. Additional parameters for the OP-TEE OS build
  83. E.g. 'CFG_TEE_CORE_LOG_LEVEL=3 CFG_UNWIND=y'
  84. config BR2_TARGET_OPTEE_OS_CORE_IMAGES
  85. string "Binary boot images"
  86. default "tee.bin tee-*_v2.bin"
  87. help
  88. Names of generated image files that are installed in the
  89. output images/ directory.
  90. endif # BR2_TARGET_OPTEE_OS