[Buildroot] [git commit] package/optee-client: add option to use same version as optee-os

Julien Olivain ju.o at free.fr
Mon Feb 3 17:41:59 UTC 2025


commit: https://git.buildroot.net/buildroot/commit/?id=30066345aa29bbd773f984448597d40143f7ff80
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

We can select a custom official version for the optee-os package; add an
option to select the same version for optee-client, to easily keep them
synchronized.

Signed-off-by: Vincent Stehlé <vincent.stehle at arm.com>
Cc: Étienne Carrière <etienne.carriere at foss.st.com>
Signed-off-by: Julien Olivain <ju.o at free.fr>
---
 package/optee-client/Config.in | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package/optee-client/Config.in b/package/optee-client/Config.in
index 738d43f837..efed800a87 100644
--- a/package/optee-client/Config.in
+++ b/package/optee-client/Config.in
@@ -19,10 +19,16 @@ if BR2_PACKAGE_OPTEE_CLIENT
 
 choice
 	prompt "optee-client version"
+	default BR2_PACKAGE_OPTEE_CLIENT_AS_OS \
+				if BR2_TARGET_OPTEE_OS_CUSTOM_VERSION
 	default BR2_PACKAGE_OPTEE_CLIENT_LATEST
 	help
 	  Select the version of optee-client you want to use
 
+config BR2_PACKAGE_OPTEE_CLIENT_AS_OS
+	bool "Same as optee-os being built"
+	depends on BR2_TARGET_OPTEE_OS_CUSTOM_VERSION
+
 config BR2_PACKAGE_OPTEE_CLIENT_LATEST
 	bool "4.3.0"
 	help
@@ -52,6 +58,8 @@ endif
 
 config BR2_PACKAGE_OPTEE_CLIENT_VERSION
 	string
+	default BR2_TARGET_OPTEE_OS_CUSTOM_VERSION_VALUE \
+				if BR2_PACKAGE_OPTEE_CLIENT_AS_OS
 	default "4.3.0"		if BR2_PACKAGE_OPTEE_CLIENT_LATEST
 	default "custom"	if BR2_PACKAGE_OPTEE_CLIENT_CUSTOM_TARBALL
 


More information about the buildroot mailing list