toolchain: add necessary options to support 5.0 kernel headers
PATCH 1/3 toolchain: add necessary options to support 5.0 kernel headers
--- toolchain/Config.in | 5 +++++ 1 file changed, 5 insertions(+)
toolchain/Config.in +5 -0
@@ -397,10 +397,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 bool select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 + # This order guarantees that the highest version is set, as kconfig # stops affecting a value on the first matching default. config BR2_TOOLCHAIN_HEADERS_AT_LEAST string + default "5.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 default "4.20" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 default "4.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 default "4.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
Signature · 1 line
2.11.0
PATCH 2/3 package/linux-headers: add support for Linux 5.0 kernel headers
As package/linux-headers/linux-headers.hash is a symlink to linux/linux.hash so update the same in this commit.
--- linux/linux.hash | 3 +++ package/linux-headers/Config.in.host | 9 +++++++++ 2 files changed, 12 insertions(+)
linux/linux.hash +3 -0
@@ -4,3 +4,6 @@ sha256 7ec71d90d6e96e6f741676d157ac06f30c75be4eaf1649143a3c8b7d4f919731 linux-4 sha256 7aa43e34e4c9e5965da29cef5ae196e06006f8c0d1d65fd755a2f197f0796a11 linux-4.14.103.tar.xz sha256 c09af067af62d299f5e33c279968de58c88fb7c59bd05e8f3bb460f611f60515 linux-4.9.160.tar.xz sha256 27da5401aa691762f3361c143f453877f499c02ea6c9c743b09538cb1af1c75d linux-4.4.176.tar.xz + +# From https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc +sha256 437b141a6499159f5a7282d5eb4b2be055f8e862ccce44d7464e8759c31a2e43 linux-5.0.tar.xz
package/linux-headers/Config.in.host +9 -0
@@ -51,6 +51,10 @@ config BR2_KERNEL_HEADERS_4_20 bool "Linux 4.20.x kernel headers" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 +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_VERSION bool "Manually specified Linux version" help
@@ -116,6 +120,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_0 + bool "5.0" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 + config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_20 bool "4.20.x" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
@@ -292,6 +300,7 @@ config BR2_DEFAULT_KERNEL_HEADERS default "4.14.103" if BR2_KERNEL_HEADERS_4_14 default "4.19.25" if BR2_KERNEL_HEADERS_4_19 default "4.20.12" if BR2_KERNEL_HEADERS_4_20 + default "5.0" if BR2_KERNEL_HEADERS_5_0 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 \
Signature · 1 line
2.11.0
PATCH 3/3 toolchain: toolchain-external : support Linux 5.0 kernel headers
In reply to Shyam Saini--- .../toolchain-external/toolchain-external-custom/Config.in.options | 4 ++++ 1 file changed, 4 insertions(+)
toolchain/toolchain-external/toolchain-external-custom/Config.in.options +4 -0
@@ -123,6 +123,10 @@ choice m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_0 + bool "5.0.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 + config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_20 bool "4.20.x" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20
Signature · 1 line
2.11.0
PATCH 1/3 toolchain: add necessary options to support 5.0 kernel headers
In reply to Shyam SainiHello,
Quoted 4 lines · On Mon, 1 Apr 2019 18:00:49 +0530 Shyam Saini…
Signed-off-by Shyam Saini <[email protected]>--- toolchain/Config.in | 5 +++++ 1 file changed, 5 insertions(+)
5.0 headers are already supported in Buildroot, see:
https://git.buildroot.org/buildroot/commit/toolchain?id=3385946b7ab709cc89aeee67195fb3bdd2422145
and related patches.
Make sure to rebase your patches on the latest master before sending them, you would have noticed that this was already implemented.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/3 toolchain: add necessary options to support 5.0 kernel headers
Quoted 2 lines
Hello,
Hi Thomas,
Quoted 8 lines
Quoted 4 lines · On Mon, 1 Apr 2019 18:00:49 +0530 Shyam Saini…
Signed-off-by Shyam Saini <[email protected]>--- toolchain/Config.in | 5 +++++ 1 file changed, 5 insertions(+)
Quoted 8 lines
5.0 headers are already supported in Buildroot, see:
https://git.buildroot.org/buildroot/commit/toolchain?id=3385946b7ab709cc89aeee67195fb3bdd2422145
and related patches.
Make sure to rebase your patches on the latest master before sending them, you would have noticed that this was already implemented.
Sorry, I missed these updates though I'm subscribed to mailing list.
will take care about this next time.
Thanks