aboutsummaryrefslogtreecommitdiff
path: root/boot/optee-os/Config.in
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2019-03-05 10:59:38 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-03-05 10:59:38 +0100
commitda49312af9e0c3e7f6df50e7d6f77e1fa2921b7a (patch)
tree4831ddfa987ac9181b59f82e587af5ad6ed3a70f /boot/optee-os/Config.in
parentd29ec62899ed7fafefd0a3fddee61683648421fa (diff)
parente675e9a0473f39b60ab66d94a61ac9c077ed438f (diff)
downloadbuildroot-da49312af9e0c3e7f6df50e7d6f77e1fa2921b7a.tar.gz
buildroot-da49312af9e0c3e7f6df50e7d6f77e1fa2921b7a.tar.bz2
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'boot/optee-os/Config.in')
-rw-r--r--boot/optee-os/Config.in102
1 files changed, 102 insertions, 0 deletions
diff --git a/boot/optee-os/Config.in b/boot/optee-os/Config.in
new file mode 100644
index 0000000000..a1f1b910ac
--- /dev/null
+++ b/boot/optee-os/Config.in
@@ -0,0 +1,102 @@
+config BR2_TARGET_OPTEE_OS
+ bool "optee_os"
+ depends on BR2_ARM_CPU_ARMV8A || BR2_ARM_CPU_ARMV7A
+ help
+ OP-TEE OS provides the secure world boot image and the trust
+ application development kit of the OP-TEE project. OP-TEE OS
+ also provides generic trusted application one can embedded
+ into its system.
+
+ http://github.com/OP-TEE/optee_os
+
+if BR2_TARGET_OPTEE_OS
+
+choice
+ prompt "OP-TEE OS version"
+ default BR2_TARGET_OPTEE_OS_LATEST
+ help
+ Select the version of OP-TEE OS you want to use
+
+config BR2_TARGET_OPTEE_OS_LATEST
+ bool "3.4.0"
+ help
+ Use the latest release tag from the OP-TEE OS official Git
+ repository.
+
+config BR2_TARGET_OPTEE_OS_CUSTOM_GIT
+ bool "Custom Git repository"
+ help
+ Use a custom version fetched from a Git repository.
+
+endchoice
+
+if BR2_TARGET_OPTEE_OS_CUSTOM_GIT
+
+config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_URL
+ string "URL of custom repository"
+ depends on BR2_TARGET_OPTEE_OS_CUSTOM_GIT
+ help
+ Specific location of the reference source tree Git
+ repository.
+
+config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION
+ string "Custom repository version"
+ depends on BR2_TARGET_OPTEE_OS_CUSTOM_GIT
+ help
+ Revision to use in the typical format used by Git, i.e a
+ SHA1 or a tag.
+
+endif
+
+config BR2_TARGET_OPTEE_OS_VERSION
+ string
+ default "3.4.0" if BR2_TARGET_OPTEE_OS_LATEST
+ default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \
+ if BR2_TARGET_OPTEE_OS_CUSTOM_GIT
+
+config BR2_TARGET_OPTEE_OS_CORE
+ bool "Build core"
+ default y
+ help
+ This option will build and install the OP-TEE core
+ boot images.
+
+config BR2_TARGET_OPTEE_OS_SDK
+ bool "Build TA devkit"
+ default y
+ help
+ This option will build and install the OP-TEE development
+ kit for building OP-TEE trusted application images. It is
+ installed in the staging directory /lib/optee.
+
+config BR2_TARGET_OPTEE_OS_SERVICES
+ bool "Build service TAs"
+ default y
+ select BR2_TARGET_OPTEE_OS_CORE
+ help
+ This option installs the service trusted applications built
+ from OP-TEE OS source tree. These are installed in the target
+ /lib/optee_armtz directory as other trusted applications.
+ At runtime OP-TEE OS can load trusted applications from this
+ non-secure filesystem/directory into the secure world for
+ execution.
+
+config BR2_TARGET_OPTEE_OS_PLATFORM
+ string "Target platform (mandatory)"
+ help
+ Value for the mandated PLATFORM build directive provided to
+ OP-TEE OS.
+
+config BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR
+ string "Target platform flavor (optional)"
+ help
+ Value for the optional PLATFORM_FLAVOR build directive
+ provided to OP-TEE OS.
+
+config BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES
+ string "Additional build variables"
+ help
+ Additional parameters for the OP-TEE OS build
+ E.g. 'CFG_TEE_CORE_LOG_LEVEL=3 CFG_UNWIND=y'
+
+endif # BR2_TARGET_OPTEE_OS