diff mbox series

[1/1] package/cmake: add BR2_HOST_CMAKE_AT_LEAST_3_28

Message ID 20240413064203.53781-1-bernd@kuhls.net
State Accepted
Headers show
Series [1/1] package/cmake: add BR2_HOST_CMAKE_AT_LEAST_3_28 | expand

Commit Message

Bernd Kuhls April 13, 2024, 6:42 a.m. UTC
Buildroot commit 38d07349daece6393800619ecb3ef98299711819 forgot to
add the corresponding BR2_HOST_CMAKE_AT_LEAST_X_Y option.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/cmake/Config.in.host | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Romain Naour May 1, 2024, 10:17 p.m. UTC | #1
Hello Bernd,

Le 13/04/2024 à 08:42, Bernd Kuhls a écrit :
> Buildroot commit 38d07349daece6393800619ecb3ef98299711819 forgot to
> add the corresponding BR2_HOST_CMAKE_AT_LEAST_X_Y option.
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
>  package/cmake/Config.in.host | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/package/cmake/Config.in.host b/package/cmake/Config.in.host
> index 0935e9a564..c38bb9daaa 100644
> --- a/package/cmake/Config.in.host
> +++ b/package/cmake/Config.in.host
> @@ -47,10 +47,15 @@ config BR2_HOST_CMAKE_AT_LEAST_3_27
>  	bool
>  	select BR2_HOST_CMAKE_AT_LEAST_3_26
>  
> +config BR2_HOST_CMAKE_AT_LEAST_3_28
> +	bool
> +	select BR2_HOST_CMAKE_AT_LEAST_3_27
> +
>  # This order guarantees that the highest version is set, as kconfig
>  # stops affecting a value on the first matching default.
>  config BR2_HOST_CMAKE_AT_LEAST
>  	string
> +	default "3.28"	if BR2_HOST_CMAKE_AT_LEAST_3_28
>  	default "3.27"	if BR2_HOST_CMAKE_AT_LEAST_3_27
>  	default "3.26"	if BR2_HOST_CMAKE_AT_LEAST_3_26
>  	default "3.25"	if BR2_HOST_CMAKE_AT_LEAST_3_25

Applied to master, thanks.

Best regards,
Romain
Peter Korsgaard May 21, 2024, 12:03 p.m. UTC | #2
>>>>> "Bernd" == Bernd Kuhls <bernd@kuhls.net> writes:

 > Buildroot commit 38d07349daece6393800619ecb3ef98299711819 forgot to
 > add the corresponding BR2_HOST_CMAKE_AT_LEAST_X_Y option.

 > Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Committed to 2024.02.x, thanks.
diff mbox series

Patch

diff --git a/package/cmake/Config.in.host b/package/cmake/Config.in.host
index 0935e9a564..c38bb9daaa 100644
--- a/package/cmake/Config.in.host
+++ b/package/cmake/Config.in.host
@@ -47,10 +47,15 @@  config BR2_HOST_CMAKE_AT_LEAST_3_27
 	bool
 	select BR2_HOST_CMAKE_AT_LEAST_3_26
 
+config BR2_HOST_CMAKE_AT_LEAST_3_28
+	bool
+	select BR2_HOST_CMAKE_AT_LEAST_3_27
+
 # This order guarantees that the highest version is set, as kconfig
 # stops affecting a value on the first matching default.
 config BR2_HOST_CMAKE_AT_LEAST
 	string
+	default "3.28"	if BR2_HOST_CMAKE_AT_LEAST_3_28
 	default "3.27"	if BR2_HOST_CMAKE_AT_LEAST_3_27
 	default "3.26"	if BR2_HOST_CMAKE_AT_LEAST_3_26
 	default "3.25"	if BR2_HOST_CMAKE_AT_LEAST_3_25