Config.in 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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 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 "3.16.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_GIT
  24. bool "Custom Git repository"
  25. help
  26. Use a custom version fetched from a Git repository.
  27. endchoice
  28. if BR2_TARGET_OPTEE_OS_CUSTOM_GIT
  29. config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_URL
  30. string "URL of custom repository"
  31. depends on BR2_TARGET_OPTEE_OS_CUSTOM_GIT
  32. help
  33. Specific location of the reference source tree Git
  34. repository.
  35. config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION
  36. string "Custom repository version"
  37. depends on BR2_TARGET_OPTEE_OS_CUSTOM_GIT
  38. help
  39. Revision to use in the typical format used by Git, i.e a
  40. SHA1 or a tag.
  41. endif
  42. config BR2_TARGET_OPTEE_OS_VERSION
  43. string
  44. default "3.16.0" if BR2_TARGET_OPTEE_OS_LATEST
  45. default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \
  46. if BR2_TARGET_OPTEE_OS_CUSTOM_GIT
  47. config BR2_TARGET_OPTEE_OS_NEEDS_DTC
  48. bool "OP-TEE OS needs dtc"
  49. select BR2_PACKAGE_HOST_DTC
  50. help
  51. Select this option if your OP-TEE OS platform configuration
  52. requires the Device Tree compiler to be available.
  53. config BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY
  54. bool "OP-TEE OS needs host-python-cryptography"
  55. depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
  56. help
  57. OP-TEE OS version below 3.16 used python-pycryptodomex
  58. package in python scripts. Newer version uses
  59. python-cryptography. Select this option if optee-os needs
  60. python-cryptography to be built.
  61. config BR2_TARGET_OPTEE_OS_CORE
  62. bool "Build core"
  63. default y
  64. help
  65. This option will build and install the OP-TEE core
  66. boot images.
  67. config BR2_TARGET_OPTEE_OS_SDK
  68. bool "Build TA devkit"
  69. default y
  70. help
  71. This option will build and install the OP-TEE development
  72. kit for building OP-TEE trusted application images. It is
  73. installed in the staging directory /lib/optee.
  74. config BR2_TARGET_OPTEE_OS_SERVICES
  75. bool "Build service TAs and libs"
  76. default y
  77. select BR2_TARGET_OPTEE_OS_CORE
  78. help
  79. This option installs the service trusted applications and
  80. trusted shared libraries built from OP-TEE OS source tree.
  81. These are installed in target /lib/optee_armtz directory
  82. as other trusted applications. At runtime OP-TEE OS can
  83. load these from this non-secure filesystem/directory into
  84. the secure world for execution.
  85. config BR2_TARGET_OPTEE_OS_PLATFORM
  86. string "Target platform (mandatory)"
  87. help
  88. Value for the mandated PLATFORM build directive provided to
  89. OP-TEE OS.
  90. config BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR
  91. string "Target platform flavor (optional)"
  92. help
  93. Value for the optional PLATFORM_FLAVOR build directive
  94. provided to OP-TEE OS.
  95. config BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES
  96. string "Additional build variables"
  97. help
  98. Additional parameters for the OP-TEE OS build
  99. E.g. 'CFG_TEE_CORE_LOG_LEVEL=3 CFG_UNWIND=y'
  100. config BR2_TARGET_OPTEE_OS_CORE_IMAGES
  101. string "Binary boot images"
  102. default "tee.bin tee-*_v2.bin"
  103. help
  104. Names of generated image files that are installed in the
  105. output images/ directory.
  106. endif # BR2_TARGET_OPTEE_OS