Config.in 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. menuconfig BR2_TARGET_OPTEE_OS
  2. bool "optee_os"
  3. depends on BR2_ARM_CPU_ARMV8A || BR2_ARM_CPU_ARMV7A || BR2_RISCV_64
  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 if BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
  14. help
  15. Select the version of OP-TEE OS you want to use
  16. config BR2_TARGET_OPTEE_OS_LATEST
  17. bool "4.3.0"
  18. depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
  19. select BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY
  20. help
  21. Use the latest release tag from the OP-TEE OS official Git
  22. repository.
  23. config BR2_TARGET_OPTEE_OS_CUSTOM_VERSION
  24. bool "Custom version"
  25. help
  26. This option allows to use a specific official version
  27. config BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL
  28. bool "Custom tarball"
  29. help
  30. This option allows to specify a URL pointing to an OP-TEE OS
  31. source tarball. This URL can use any protocol recognized by
  32. Buildroot, like http://, ftp://, file:// or scp://.
  33. When pointing to a local tarball using file://, you may want
  34. to use a make variable like $(TOPDIR) to reference the root of
  35. the Buildroot tree.
  36. config BR2_TARGET_OPTEE_OS_CUSTOM_GIT
  37. bool "Custom Git repository"
  38. help
  39. Use a custom version fetched from a Git repository.
  40. endchoice
  41. config BR2_TARGET_OPTEE_OS_CUSTOM_VERSION_VALUE
  42. string "OP-TEE version"
  43. depends on BR2_TARGET_OPTEE_OS_CUSTOM_VERSION
  44. if BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL
  45. config BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL_LOCATION
  46. string "URL of custom OP-TEE OS tarball"
  47. endif
  48. if BR2_TARGET_OPTEE_OS_CUSTOM_GIT
  49. config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_URL
  50. string "URL of custom repository"
  51. depends on BR2_TARGET_OPTEE_OS_CUSTOM_GIT
  52. help
  53. Specific location of the reference source tree Git
  54. repository.
  55. config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION
  56. string "Custom repository version"
  57. depends on BR2_TARGET_OPTEE_OS_CUSTOM_GIT
  58. help
  59. Revision to use in the typical format used by Git, i.e a
  60. SHA1 or a tag.
  61. endif
  62. config BR2_TARGET_OPTEE_OS_VERSION
  63. string
  64. default "4.3.0" if BR2_TARGET_OPTEE_OS_LATEST
  65. default BR2_TARGET_OPTEE_OS_CUSTOM_VERSION_VALUE \
  66. if BR2_TARGET_OPTEE_OS_CUSTOM_VERSION
  67. default "custom" if BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL
  68. default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \
  69. if BR2_TARGET_OPTEE_OS_CUSTOM_GIT
  70. config BR2_TARGET_OPTEE_OS_NEEDS_DTC
  71. bool "OP-TEE OS needs dtc"
  72. select BR2_PACKAGE_HOST_DTC
  73. help
  74. Select this option if your OP-TEE OS platform configuration
  75. requires the Device Tree compiler to be available.
  76. config BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY
  77. bool "OP-TEE OS needs host-python-cryptography"
  78. depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
  79. help
  80. OP-TEE OS version below 3.16 used python-pycryptodomex
  81. package in python scripts. Newer version uses
  82. python-cryptography. Select this option if optee-os needs
  83. python-cryptography to be built.
  84. config BR2_TARGET_OPTEE_OS_NEEDS_CMAKE
  85. bool "OP-TEE OS needs cmake"
  86. help
  87. Select this option if your OP-TEE OS platform configuration
  88. requires the cmake build system to be available.
  89. config BR2_TARGET_OPTEE_OS_CORE
  90. bool "Build core"
  91. default y
  92. help
  93. This option will build and install the OP-TEE core
  94. boot images.
  95. config BR2_TARGET_OPTEE_OS_SDK
  96. bool "Build TA devkit"
  97. default y
  98. help
  99. This option will build and install the OP-TEE development
  100. kit for building OP-TEE trusted application images. It is
  101. installed in the staging directory /lib/optee.
  102. config BR2_TARGET_OPTEE_OS_SERVICES
  103. bool "Build service TAs and libs"
  104. default y
  105. select BR2_TARGET_OPTEE_OS_CORE
  106. help
  107. This option installs the service trusted applications and
  108. trusted shared libraries built from OP-TEE OS source tree.
  109. These are installed in target /lib/optee_armtz directory
  110. as other trusted applications. At runtime OP-TEE OS can
  111. load these from this non-secure filesystem/directory into
  112. the secure world for execution.
  113. config BR2_TARGET_OPTEE_OS_PLATFORM
  114. string "Target platform (mandatory)"
  115. help
  116. Value for the mandated PLATFORM build directive provided to
  117. OP-TEE OS.
  118. config BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR
  119. string "Target platform flavor (optional)"
  120. help
  121. Value for the optional PLATFORM_FLAVOR build directive
  122. provided to OP-TEE OS.
  123. config BR2_TARGET_OPTEE_OS_CUSTOM_DTS_PATH
  124. string "Device Tree Source file paths"
  125. help
  126. Space-separated list of paths to device tree source files
  127. that will be copied to core/arch/arm/dts/ before starting
  128. the build.
  129. To use this device tree source file, the OP-TEE OS
  130. configuration must refer to it with the
  131. CFG_EMBED_DTB_SOURCE_FILE option and no platform flavor
  132. needs to be specified.
  133. config BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES
  134. string "Additional build variables"
  135. help
  136. Additional parameters for the OP-TEE OS build
  137. E.g. 'CFG_TEE_CORE_LOG_LEVEL=3 CFG_UNWIND=y'
  138. config BR2_TARGET_OPTEE_OS_CORE_IMAGES
  139. string "Binary boot images"
  140. default "tee.bin tee-*_v2.bin"
  141. help
  142. Names of generated image files that are installed in the
  143. output images/ directory.
  144. endif # BR2_TARGET_OPTEE_OS