Config.in 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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.15.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.15.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_NEEDS_DTC
  46. bool "OP-TEE OS needs dtc"
  47. select BR2_PACKAGE_HOST_DTC
  48. help
  49. Select this option if your OP-TEE OS platform configuration
  50. requires the Device Tree compiler to be available.
  51. config BR2_TARGET_OPTEE_OS_NEEDS_PYTHON_CRYPTOGRAPHY
  52. bool "OP-TEE OS needs host-python-cryptography"
  53. depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
  54. help
  55. OP-TEE OS version below 3.16 used python-pycryptodomex
  56. package in python scripts. Newer version uses
  57. python-cryptography. Select this option if optee-os needs
  58. python-cryptography to be built.
  59. config BR2_TARGET_OPTEE_OS_CORE
  60. bool "Build core"
  61. default y
  62. help
  63. This option will build and install the OP-TEE core
  64. boot images.
  65. config BR2_TARGET_OPTEE_OS_SDK
  66. bool "Build TA devkit"
  67. default y
  68. help
  69. This option will build and install the OP-TEE development
  70. kit for building OP-TEE trusted application images. It is
  71. installed in the staging directory /lib/optee.
  72. config BR2_TARGET_OPTEE_OS_SERVICES
  73. bool "Build service TAs and libs"
  74. default y
  75. select BR2_TARGET_OPTEE_OS_CORE
  76. help
  77. This option installs the service trusted applications and
  78. trusted shared libraries built from OP-TEE OS source tree.
  79. These are installed in target /lib/optee_armtz directory
  80. as other trusted applications. At runtime OP-TEE OS can
  81. load these from this non-secure filesystem/directory into
  82. the secure world for execution.
  83. config BR2_TARGET_OPTEE_OS_PLATFORM
  84. string "Target platform (mandatory)"
  85. help
  86. Value for the mandated PLATFORM build directive provided to
  87. OP-TEE OS.
  88. config BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR
  89. string "Target platform flavor (optional)"
  90. help
  91. Value for the optional PLATFORM_FLAVOR build directive
  92. provided to OP-TEE OS.
  93. config BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES
  94. string "Additional build variables"
  95. help
  96. Additional parameters for the OP-TEE OS build
  97. E.g. 'CFG_TEE_CORE_LOG_LEVEL=3 CFG_UNWIND=y'
  98. config BR2_TARGET_OPTEE_OS_CORE_IMAGES
  99. string "Binary boot images"
  100. default "tee.bin tee-*_v2.bin"
  101. help
  102. Names of generated image files that are installed in the
  103. output images/ directory.
  104. endif # BR2_TARGET_OPTEE_OS