mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/optee-test: add option to use same version as optee-os
We can select a custom official version for the optee-os package; add an option to select the same version for optee-test, to easily keep them synchronized. Break one unrelated long line in the mean time to keep formatting harmonious. 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
843cf79ff1
commit
a92b74c20c
@@ -36,10 +36,17 @@ if BR2_PACKAGE_OPTEE_TEST
|
|||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "optee-test version"
|
prompt "optee-test version"
|
||||||
default BR2_PACKAGE_OPTEE_TEST_LATEST if BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
|
default BR2_PACKAGE_OPTEE_TEST_AS_OS \
|
||||||
|
if BR2_TARGET_OPTEE_OS_CUSTOM_VERSION
|
||||||
|
default BR2_PACKAGE_OPTEE_TEST_LATEST \
|
||||||
|
if BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
|
||||||
help
|
help
|
||||||
Select the version of optee-test you want to use
|
Select the version of optee-test you want to use
|
||||||
|
|
||||||
|
config BR2_PACKAGE_OPTEE_TEST_AS_OS
|
||||||
|
bool "Same as optee-os being built"
|
||||||
|
depends on BR2_TARGET_OPTEE_OS_CUSTOM_VERSION
|
||||||
|
|
||||||
config BR2_PACKAGE_OPTEE_TEST_LATEST
|
config BR2_PACKAGE_OPTEE_TEST_LATEST
|
||||||
bool "4.3.0"
|
bool "4.3.0"
|
||||||
help
|
help
|
||||||
@@ -68,6 +75,8 @@ endif
|
|||||||
|
|
||||||
config BR2_PACKAGE_OPTEE_TEST_VERSION
|
config BR2_PACKAGE_OPTEE_TEST_VERSION
|
||||||
string
|
string
|
||||||
|
default BR2_TARGET_OPTEE_OS_CUSTOM_VERSION_VALUE \
|
||||||
|
if BR2_PACKAGE_OPTEE_TEST_AS_OS
|
||||||
default "4.3.0" if BR2_PACKAGE_OPTEE_TEST_LATEST
|
default "4.3.0" if BR2_PACKAGE_OPTEE_TEST_LATEST
|
||||||
default "custom" if BR2_PACKAGE_OPTEE_TEST_CUSTOM_TARBALL
|
default "custom" if BR2_PACKAGE_OPTEE_TEST_CUSTOM_TARBALL
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user