mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -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_2
|
||||
default BR2_KERNEL_HEADERS_5_9
|
||||
help
|
||||
Select the kernel version to get headers from.
|
||||
|
||||
@@ -25,6 +25,7 @@ choice
|
||||
config BR2_KERNEL_HEADERS_AS_KERNEL
|
||||
bool "Same as kernel being built"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
select BR2_KERNEL_HEADERS_LATEST if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
|
||||
config BR2_KERNEL_HEADERS_4_4
|
||||
bool "Linux 4.4.x kernel headers"
|
||||
@@ -49,13 +50,18 @@ config BR2_KERNEL_HEADERS_4_19
|
||||
depends on !BR2_csky
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
|
||||
|
||||
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_5_4
|
||||
bool "Linux 5.4.x kernel headers"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
|
||||
|
||||
config BR2_KERNEL_HEADERS_5_2
|
||||
bool "Linux 5.2.x kernel headers"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
|
||||
config BR2_KERNEL_HEADERS_5_8
|
||||
bool "Linux 5.8.x kernel headers"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
|
||||
|
||||
config BR2_KERNEL_HEADERS_5_9
|
||||
bool "Linux 5.9.x kernel headers"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
|
||||
select BR2_KERNEL_HEADERS_LATEST
|
||||
|
||||
config BR2_KERNEL_HEADERS_VERSION
|
||||
bool "Manually specified Linux version"
|
||||
@@ -87,6 +93,10 @@ config BR2_KERNEL_HEADERS_CUSTOM_GIT
|
||||
|
||||
endchoice
|
||||
|
||||
# Select this for the latest kernel headers version (for license hashes)
|
||||
config BR2_KERNEL_HEADERS_LATEST
|
||||
bool
|
||||
|
||||
config BR2_DEFAULT_KERNEL_VERSION
|
||||
string "linux version"
|
||||
depends on BR2_KERNEL_HEADERS_VERSION
|
||||
@@ -122,6 +132,37 @@ choice
|
||||
This is used to hide/show some packages that have strict
|
||||
requirements on the version of kernel headers.
|
||||
|
||||
If your kernel headers are more recent than the latest version
|
||||
in the choice, then select the latest version.
|
||||
|
||||
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9
|
||||
bool "5.9.x or later"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
|
||||
|
||||
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8
|
||||
bool "5.8.x"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
|
||||
|
||||
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7
|
||||
bool "5.7.x"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
|
||||
|
||||
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6
|
||||
bool "5.6.x"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
|
||||
|
||||
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_5
|
||||
bool "5.5.x"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5
|
||||
|
||||
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4
|
||||
bool "5.4.x"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4
|
||||
|
||||
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3
|
||||
bool "5.3.x"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3
|
||||
|
||||
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_2
|
||||
bool "5.2.x"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
|
||||
@@ -305,12 +346,13 @@ endchoice
|
||||
|
||||
config BR2_DEFAULT_KERNEL_HEADERS
|
||||
string
|
||||
default "4.4.189" if BR2_KERNEL_HEADERS_4_4
|
||||
default "4.9.189" if BR2_KERNEL_HEADERS_4_9
|
||||
default "4.14.139" if BR2_KERNEL_HEADERS_4_14
|
||||
default "4.19.67" if BR2_KERNEL_HEADERS_4_19
|
||||
default "5.1.21" if BR2_KERNEL_HEADERS_5_1
|
||||
default "5.2.9" if BR2_KERNEL_HEADERS_5_2
|
||||
default "4.4.238" if BR2_KERNEL_HEADERS_4_4
|
||||
default "4.9.238" if BR2_KERNEL_HEADERS_4_9
|
||||
default "4.14.200" if BR2_KERNEL_HEADERS_4_14
|
||||
default "4.19.150" if BR2_KERNEL_HEADERS_4_19
|
||||
default "5.4.70" if BR2_KERNEL_HEADERS_5_4
|
||||
default "5.8.14" if BR2_KERNEL_HEADERS_5_8
|
||||
default "5.9" if BR2_KERNEL_HEADERS_5_9
|
||||
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 \
|
||||
|
||||
Reference in New Issue
Block a user