linux-header: support above linux 5.15 or 6.0 from offical tag 2022.11.3
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
This commit is contained in:
@@ -65,6 +65,14 @@ config BR2_KERNEL_HEADERS_5_14
|
|||||||
config BR2_KERNEL_HEADERS_5_15
|
config BR2_KERNEL_HEADERS_5_15
|
||||||
bool "Linux 5.15.x kernel headers"
|
bool "Linux 5.15.x kernel headers"
|
||||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
|
||||||
|
|
||||||
|
config BR2_KERNEL_HEADERS_5_19
|
||||||
|
bool "Linux 5.19.x kernel headers"
|
||||||
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
|
||||||
|
|
||||||
|
config BR2_KERNEL_HEADERS_6_0
|
||||||
|
bool "Linux 6.0.x kernel headers"
|
||||||
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_0
|
||||||
select BR2_KERNEL_HEADERS_LATEST
|
select BR2_KERNEL_HEADERS_LATEST
|
||||||
|
|
||||||
config BR2_KERNEL_HEADERS_VERSION
|
config BR2_KERNEL_HEADERS_VERSION
|
||||||
@@ -139,8 +147,28 @@ choice
|
|||||||
If your kernel headers are more recent than the latest version
|
If your kernel headers are more recent than the latest version
|
||||||
in the choice, then select the latest version.
|
in the choice, then select the latest version.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_0
|
||||||
|
bool "6.0.x or later"
|
||||||
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_0
|
||||||
|
|
||||||
|
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19
|
||||||
|
bool "5.19.x"
|
||||||
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
|
||||||
|
|
||||||
|
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_18
|
||||||
|
bool "5.18.x"
|
||||||
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_18
|
||||||
|
|
||||||
|
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_17
|
||||||
|
bool "5.17.x"
|
||||||
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
|
||||||
|
|
||||||
|
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16
|
||||||
|
bool "5.16.x"
|
||||||
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
|
||||||
|
|
||||||
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15
|
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15
|
||||||
bool "5.15.x or later"
|
bool "5.15.x"
|
||||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
|
||||||
|
|
||||||
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14
|
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14
|
||||||
@@ -382,6 +410,8 @@ config BR2_DEFAULT_KERNEL_HEADERS
|
|||||||
default "5.10.83" if BR2_KERNEL_HEADERS_5_10
|
default "5.10.83" if BR2_KERNEL_HEADERS_5_10
|
||||||
default "5.14.21" if BR2_KERNEL_HEADERS_5_14
|
default "5.14.21" if BR2_KERNEL_HEADERS_5_14
|
||||||
default "5.15.6" if BR2_KERNEL_HEADERS_5_15
|
default "5.15.6" if BR2_KERNEL_HEADERS_5_15
|
||||||
|
default "5.19.17" if BR2_KERNEL_HEADERS_5_19
|
||||||
|
default "6.0.19" if BR2_KERNEL_HEADERS_6_0
|
||||||
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||||
default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
|
default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
|
||||||
default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
|
default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
|
||||||
|
|||||||
Reference in New Issue
Block a user