add options to optee-* to use same version as optee-os
cover add options to optee-* to use same version as optee-os
Hi,
To follow up with the optee-os discussion [1], here is a patch series adding an option to the optee-client, optee-examples and optee-test packages, to allow selecting the same version as optee-os, when the later uses a custom version.
The goal here is to allow keeping all optee-* packages versions in sync easily.
Best regards,
Vincent.
[1] https://lists.buildroot.org/pipermail/buildroot/2025-January/770234.html
Vincent Stehlé (3):
package/optee-client: add option to use same version as optee-os package/optee-examples: add option to use same version as optee-os package/optee-test: add option to use same version as optee-os
package/optee-client/Config.in | 8 ++++++++ package/optee-examples/Config.in | 8 ++++++++ package/optee-test/Config.in | 11 ++++++++++- 3 files changed, 26 insertions(+), 1 deletion(-)
Signature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/3 package/optee-client: 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-client, to easily keep them synchronized.
--- package/optee-client/Config.in | 8 ++++++++ 1 file changed, 8 insertions(+)
package/optee-client/Config.in +8 -0
@@ -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
Signature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 1/3] package/optee-client: add option to use same version as optee-os
Quoted 6 lines · Vincent Stehlé
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é <[email protected]>Cc Étienne Carrière <[email protected]>
Series applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/3 package/optee-examples: add option to use same version as optee-os
In reply to Vincent Stehlé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.
--- package/optee-examples/Config.in | 8 ++++++++ 1 file changed, 8 insertions(+)
package/optee-examples/Config.in +8 -0
@@ -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
Signature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/3 package/optee-test: add option to use same version as optee-os
In reply to Vincent Stehlé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.
--- package/optee-test/Config.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
package/optee-test/Config.in +10 -1
@@ -36,10 +36,17 @@ if BR2_PACKAGE_OPTEE_TEST choice 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 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.3.0" help
@@ -68,6 +75,8 @@ 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.3.0" if BR2_PACKAGE_OPTEE_TEST_LATEST default "custom" if BR2_PACKAGE_OPTEE_TEST_CUSTOM_TARBALL
Signature · 6 lines
2.45.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot