Files
Jakob Kastelic 6b7b895d10 {boot/optee-os, package/optee-*}: bump version to 4.9.0
Unfortunately, if all optee-related packages are not updated at the same
time, optee-test will not build. This commit bumps all the optee
components at once.

The version bump is needed since optee-examples and optee-test can no
longer compile (compatibility with CMake < 3.5 has been removed from
CMake).

For release details, see:
https://github.com/OP-TEE/optee_os/blob/4.9.0/CHANGELOG.md#op-tee---version-490-2026-01-16

Signed-off-by: Jakob Kastelic <jkastelic@thinksrs.com>
[Julien: add link to release details]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-02-06 23:13:58 +01:00

84 lines
2.6 KiB
Plaintext

config BR2_PACKAGE_OPTEE_TEST
bool "optee-test"
depends on BR2_TARGET_OPTEE_OS
depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS # optee-client
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # optee-client
depends on BR2_USE_MMU # optee-client
select BR2_PACKAGE_OPTEE_CLIENT
select BR2_TARGET_OPTEE_OS_SDK
help
This build option enables OP-TEE test package from the
OP-TEE project. It helps platforms to verify the OP-TEE
installation against a set of regression and performance
tests.
The package generates userspace test applications and
data files for the Linux userland. It also generates
OP-TEE trusted applications.
Trusted application binary files are installed in the target
directory /lib/optee_armtz 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.
http://github.com/OP-TEE/optee_test
comment "optee-test needs a toolchain w/ threads, C++, dynamic library, headers >= 4.3"
depends on BR2_TARGET_OPTEE_OS
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
if BR2_PACKAGE_OPTEE_TEST
choice
prompt "optee-test version"
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
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
bool "4.9.0"
help
Use the latest release tag from the optee-test official Git
repository.
config BR2_PACKAGE_OPTEE_TEST_CUSTOM_TARBALL
bool "Custom tarball"
help
This option allows to specify a URL pointing to an optee-test
source tarball. This URL can use any protocol recognized by
Buildroot, like http://, ftp://, file:// or scp://.
When pointing to a local tarball using file://, you may want
to use a make variable like $(TOPDIR) to reference the root of
the Buildroot tree.
endchoice
if BR2_PACKAGE_OPTEE_TEST_CUSTOM_TARBALL
config BR2_PACKAGE_OPTEE_TEST_CUSTOM_TARBALL_LOCATION
string "URL of custom optee-test tarball"
endif
config BR2_PACKAGE_OPTEE_TEST_VERSION
string
default BR2_TARGET_OPTEE_OS_CUSTOM_VERSION_VALUE \
if BR2_PACKAGE_OPTEE_TEST_AS_OS
default "4.9.0" if BR2_PACKAGE_OPTEE_TEST_LATEST
default "custom" if BR2_PACKAGE_OPTEE_TEST_CUSTOM_TARBALL
endif # BR2_PACKAGE_OPTEE_TEST