mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
boot/optee-os: add custom version option
Add custom version option, to enable easily specifying an official OP-TEE version to use. This is similar to what is done in other packages, such as linux, uboot or arm-trusted-firmware. Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com> Cc: Étienne Carrière <etienne.carriere@foss.st.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
1220b505bc
commit
0f3791f25f
@@ -25,6 +25,11 @@ config BR2_TARGET_OPTEE_OS_LATEST
|
||||
Use the latest release tag from the OP-TEE OS official Git
|
||||
repository.
|
||||
|
||||
config BR2_TARGET_OPTEE_OS_CUSTOM_VERSION
|
||||
bool "Custom version"
|
||||
help
|
||||
This option allows to use a specific official version
|
||||
|
||||
config BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL
|
||||
bool "Custom tarball"
|
||||
help
|
||||
@@ -43,6 +48,10 @@ config BR2_TARGET_OPTEE_OS_CUSTOM_GIT
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_TARGET_OPTEE_OS_CUSTOM_VERSION_VALUE
|
||||
string "OP-TEE version"
|
||||
depends on BR2_TARGET_OPTEE_OS_CUSTOM_VERSION
|
||||
|
||||
if BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL
|
||||
|
||||
config BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL_LOCATION
|
||||
@@ -71,6 +80,8 @@ endif
|
||||
config BR2_TARGET_OPTEE_OS_VERSION
|
||||
string
|
||||
default "4.3.0" if BR2_TARGET_OPTEE_OS_LATEST
|
||||
default BR2_TARGET_OPTEE_OS_CUSTOM_VERSION_VALUE \
|
||||
if BR2_TARGET_OPTEE_OS_CUSTOM_VERSION
|
||||
default "custom" if BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL
|
||||
default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \
|
||||
if BR2_TARGET_OPTEE_OS_CUSTOM_GIT
|
||||
|
||||
Reference in New Issue
Block a user