package/linux-headers: add support for Linux 5.1 kernel headers

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Marcin Niestroj
2019-05-07 11:01:49 +02:00
committed by Peter Korsgaard
parent 982a61b6ad
commit 904eb471e5
2 changed files with 11 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ config BR2_PACKAGE_HOST_LINUX_HEADERS
choice
prompt "Kernel Headers"
default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
default BR2_KERNEL_HEADERS_5_0
default BR2_KERNEL_HEADERS_5_1
help
Select the kernel version to get headers from.
@@ -53,6 +53,10 @@ config BR2_KERNEL_HEADERS_5_0
bool "Linux 5.0.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
config BR2_KERNEL_HEADERS_5_1
bool "Linux 5.1.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
config BR2_KERNEL_HEADERS_VERSION
bool "Manually specified Linux version"
help
@@ -118,6 +122,10 @@ choice
This is used to hide/show some packages that have strict
requirements on the version of kernel headers.
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1
bool "5.1.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0
bool "5.0.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
@@ -299,6 +307,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
default "4.19.40" if BR2_KERNEL_HEADERS_4_19
default "4.20.17" if BR2_KERNEL_HEADERS_4_20
default "5.0.13" if BR2_KERNEL_HEADERS_5_0
default "5.1" if BR2_KERNEL_HEADERS_5_1
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \