{toolchain, linux-headers}: add support for 6.4 headers

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls
2023-06-28 16:41:17 +02:00
committed by Peter Korsgaard
parent 3512b76f2e
commit 32230a52aa
4 changed files with 22 additions and 3 deletions

View File

@@ -608,6 +608,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_2
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_3
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_2
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4
bool
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_3
select BR2_TOOLCHAIN_HEADERS_LATEST
# This should be selected by the latest version, above, to indicate that
@@ -621,6 +625,7 @@ config BR2_TOOLCHAIN_HEADERS_LATEST
# stops affecting a value on the first matching default.
config BR2_TOOLCHAIN_HEADERS_AT_LEAST
string
default "6.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4
default "6.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_3
default "6.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_2
default "6.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_1

View File

@@ -142,8 +142,12 @@ choice
If your toolchain uses headers newer than the latest version
in the choice, then select the latest version.
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_4
bool "6.4.x or later"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_4
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_3
bool "6.3.x or later"
bool "6.3.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_3
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_6_2