1config 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 10 http://github.com/OP-TEE/optee_os 11 12if BR2_TARGET_OPTEE_OS 13 14choice 15 prompt "OP-TEE OS version" 16 default BR2_TARGET_OPTEE_OS_LATEST 17 help 18 Select the version of OP-TEE OS you want to use 19 20config BR2_TARGET_OPTEE_OS_LATEST 21 bool "3.15.0" 22 help 23 Use the latest release tag from the OP-TEE OS official Git 24 repository. 25 26config BR2_TARGET_OPTEE_OS_CUSTOM_GIT 27 bool "Custom Git repository" 28 help 29 Use a custom version fetched from a Git repository. 30 31endchoice 32 33if BR2_TARGET_OPTEE_OS_CUSTOM_GIT 34 35config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_URL 36 string "URL of custom repository" 37 depends on BR2_TARGET_OPTEE_OS_CUSTOM_GIT 38 help 39 Specific location of the reference source tree Git 40 repository. 41 42config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION 43 string "Custom repository version" 44 depends on BR2_TARGET_OPTEE_OS_CUSTOM_GIT 45 help 46 Revision to use in the typical format used by Git, i.e a 47 SHA1 or a tag. 48 49endif 50 51config BR2_TARGET_OPTEE_OS_VERSION 52 string 53 default "3.15.0" if BR2_TARGET_OPTEE_OS_LATEST 54 default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \ 55 if BR2_TARGET_OPTEE_OS_CUSTOM_GIT 56 57config BR2_TARGET_OPTEE_OS_CORE 58 bool "Build core" 59 default y 60 help 61 This option will build and install the OP-TEE core 62 boot images. 63 64config BR2_TARGET_OPTEE_OS_SDK 65 bool "Build TA devkit" 66 default y 67 help 68 This option will build and install the OP-TEE development 69 kit for building OP-TEE trusted application images. It is 70 installed in the staging directory /lib/optee. 71 72config 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 84config BR2_TARGET_OPTEE_OS_PLATFORM 85 string "Target platform (mandatory)" 86 help 87 Value for the mandated PLATFORM build directive provided to 88 OP-TEE OS. 89 90config 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 96config BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES 97 string "Additional build variables" 98 help 99 Additional parameters for the OP-TEE OS build 100 E.g. 'CFG_TEE_CORE_LOG_LEVEL=3 CFG_UNWIND=y' 101 102config BR2_TARGET_OPTEE_OS_CORE_IMAGES 103 string "Binary boot images" 104 default "tee.bin tee-*_v2.bin" 105 help 106 Names of generated image files that are installed in the 107 output images/ directory. 108 109endif # BR2_TARGET_OPTEE_OS 110