From 843cf79ff1687021b3a4fb508e546ad80a22779a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= Date: Wed, 29 Jan 2025 13:54:09 +0100 Subject: [PATCH] package/optee-examples: add option to use same version as optee-os MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We can select a custom official version for the optee-os package; add an option to select the same version for optee-examples, to easily keep them synchronized. Signed-off-by: Vincent Stehlé Cc: Étienne Carrière Signed-off-by: Julien Olivain --- package/optee-examples/Config.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/optee-examples/Config.in b/package/optee-examples/Config.in index 52ef268ac4..5c5b0ce5ba 100644 --- a/package/optee-examples/Config.in +++ b/package/optee-examples/Config.in @@ -31,10 +31,16 @@ if BR2_PACKAGE_OPTEE_EXAMPLES choice prompt "optee-examples version" + default BR2_PACKAGE_OPTEE_EXAMPLES_AS_OS \ + if BR2_TARGET_OPTEE_OS_CUSTOM_VERSION default BR2_PACKAGE_OPTEE_EXAMPLES_LATEST help Select the version of optee-examples you want to use +config BR2_PACKAGE_OPTEE_EXAMPLES_AS_OS + bool "Same as optee-os being built" + depends on BR2_TARGET_OPTEE_OS_CUSTOM_VERSION + config BR2_PACKAGE_OPTEE_EXAMPLES_LATEST bool "4.3.0" help @@ -64,6 +70,8 @@ endif config BR2_PACKAGE_OPTEE_EXAMPLES_VERSION string + default BR2_TARGET_OPTEE_OS_CUSTOM_VERSION_VALUE \ + if BR2_PACKAGE_OPTEE_EXAMPLES_AS_OS default "4.3.0" if BR2_PACKAGE_OPTEE_EXAMPLES_LATEST default "custom" if BR2_PACKAGE_OPTEE_EXAMPLES_CUSTOM_TARBALL