Procházet zdrojové kódy

{linux, linux-headers}: add version 5.8

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Peter Korsgaard před 4 roky
rodič
revize
775b81b270

+ 2 - 2
linux/Config.in

@@ -27,7 +27,7 @@ choice
 	prompt "Kernel version"
 	prompt "Kernel version"
 
 
 config BR2_LINUX_KERNEL_LATEST_VERSION
 config BR2_LINUX_KERNEL_LATEST_VERSION
-	bool "Latest version (5.7)"
+	bool "Latest version (5.8)"
 
 
 config BR2_LINUX_KERNEL_LATEST_CIP_VERSION
 config BR2_LINUX_KERNEL_LATEST_CIP_VERSION
 	bool "Latest CIP SLTS version (4.19.132-cip30)"
 	bool "Latest CIP SLTS version (4.19.132-cip30)"
@@ -124,7 +124,7 @@ endif
 
 
 config BR2_LINUX_KERNEL_VERSION
 config BR2_LINUX_KERNEL_VERSION
 	string
 	string
-	default "5.7.19" if BR2_LINUX_KERNEL_LATEST_VERSION
+	default "5.8.7" if BR2_LINUX_KERNEL_LATEST_VERSION
 	default "4.19.132-cip30" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
 	default "4.19.132-cip30" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
 	default "4.19.132-cip30-rt12" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
 	default "4.19.132-cip30-rt12" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
 	default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
 	default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \

+ 1 - 0
linux/linux.hash

@@ -1,4 +1,5 @@
 # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
 # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
+sha256  7b0bf5029c94df72d1244b6b77e79e376cff2817a782c3ac50767a4121fd17fe  linux-5.8.7.tar.xz
 sha256  419c6248b9ae4dfead4599787aecbfd202e88bc4124523adfa6dd2d642b99fe7  linux-5.7.19.tar.xz
 sha256  419c6248b9ae4dfead4599787aecbfd202e88bc4124523adfa6dd2d642b99fe7  linux-5.7.19.tar.xz
 sha256  86f13d050f6389c5a1727fa81510ee8eceac795297bc584f443354609617fea4  linux-5.4.61.tar.xz
 sha256  86f13d050f6389c5a1727fa81510ee8eceac795297bc584f443354609617fea4  linux-5.4.61.tar.xz
 # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
 # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc

+ 11 - 2
package/linux-headers/Config.in.host

@@ -6,7 +6,7 @@ config BR2_PACKAGE_HOST_LINUX_HEADERS
 choice
 choice
 	prompt "Kernel Headers"
 	prompt "Kernel Headers"
 	default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
 	default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
-	default BR2_KERNEL_HEADERS_5_7
+	default BR2_KERNEL_HEADERS_5_8
 	help
 	help
 	  Select the kernel version to get headers from.
 	  Select the kernel version to get headers from.
 
 
@@ -59,6 +59,10 @@ config BR2_KERNEL_HEADERS_5_7
 	bool "Linux 5.7.x kernel headers"
 	bool "Linux 5.7.x kernel headers"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
 
 
+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_VERSION
 config BR2_KERNEL_HEADERS_VERSION
 	bool "Manually specified Linux version"
 	bool "Manually specified Linux version"
 	help
 	help
@@ -131,8 +135,12 @@ 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_5_8
+	bool "5.8.x or later"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
+
 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7
 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7
-	bool "5.7.x or later"
+	bool "5.7.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
 
 
 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6
 config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6
@@ -340,6 +348,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
 	default "4.19.142"	if BR2_KERNEL_HEADERS_4_19
 	default "4.19.142"	if BR2_KERNEL_HEADERS_4_19
 	default "5.4.61"	if BR2_KERNEL_HEADERS_5_4
 	default "5.4.61"	if BR2_KERNEL_HEADERS_5_4
 	default "5.7.19"	if BR2_KERNEL_HEADERS_5_7
 	default "5.7.19"	if BR2_KERNEL_HEADERS_5_7
+	default "5.8.7"		if BR2_KERNEL_HEADERS_5_8
 	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 \

+ 5 - 0
toolchain/Config.in

@@ -480,6 +480,10 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
 config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
 	bool
 	bool
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
+
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
+	bool
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
 	select BR2_TOOLCHAIN_HEADERS_LATEST
 	select BR2_TOOLCHAIN_HEADERS_LATEST
 
 
 # This should be selected by the latest version, above, to indicate that
 # This should be selected by the latest version, above, to indicate that
@@ -493,6 +497,7 @@ config BR2_TOOLCHAIN_HEADERS_LATEST
 # stops affecting a value on the first matching default.
 # stops affecting a value on the first matching default.
 config BR2_TOOLCHAIN_HEADERS_AT_LEAST
 config BR2_TOOLCHAIN_HEADERS_AT_LEAST
 	string
 	string
+	default "5.8"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
 	default "5.7"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
 	default "5.7"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
 	default "5.6"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
 	default "5.6"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
 	default "5.5"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5
 	default "5.5"  if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5

+ 5 - 1
toolchain/toolchain-external/toolchain-external-custom/Config.in.options

@@ -119,8 +119,12 @@ choice
 	  If your toolchain uses headers newer than the latest version
 	  If your toolchain uses headers newer than the latest version
 	  in the choice, then select the latest version.
 	  in the choice, then select the latest version.
 
 
+config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_8
+	bool "5.8.x or later"
+	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8
+
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_7
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_7
-	bool "5.7.x or later"
+	bool "5.7.x"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
 
 
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_6
 config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_6