linux: support each linux latest lts version
PATCH 1/1 linux: support each linux latest lts version
Provides support for a board configuration to use the latest version of the Linux kernel for a specific LTS. While the existing BR2_LINUX_KERNEL_LATEST_VERSION allows desired configurations to roll with a latest stable release, in some scenarios, a user may want the same ability but for a specific Linux LTS. For example, if a user is using an external toolchain that is also tied to a specific Linux LTS.
Having these new options avoids the need for rolling configuration to rely on BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE with the BR2_DOWNLOAD_FORCE_CHECK_HASHES option disabled.
---
See also: https://lore.kernel.org/buildroot/CALAjcgXZKYjpsFV1E7Ry-0N5NEGV01hebSb8tEgoAtHvkfvCOA@mail.gmail.com/
--- linux/Config.ext.in | 4 +-- linux/Config.in | 45 ++++++++++++++++++++++++++++ linux/linux.mk | 2 +- package/linux-headers/Config.in.host | 4 +-- 4 files changed, 48 insertions(+), 7 deletions(-)
linux/Config.ext.in +1 -3
@@ -48,9 +48,7 @@ comment "xenomai needs a uClibc or glibc toolchain w/ threads" # RTAI config BR2_LINUX_KERNEL_EXT_RTAI bool "RTAI Real-time patch" - depends on !BR2_LINUX_KERNEL_LATEST_VERSION - depends on !BR2_LINUX_KERNEL_LATEST_CIP_VERSION - depends on !BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION + depends on !BR2_LINUX_KERNEL_LATEST_SERIES select BR2_PACKAGE_RTAI help RTAI Kernel part.
linux/Config.in +45 -0
73 lines not on this page · raw message
linux/linux.mk +1 -1
@@ -49,7 +49,7 @@ LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v$(firstword $(subst ., ,$(LINUX_ endif endif -ifeq ($(BR2_LINUX_KERNEL)$(BR2_LINUX_KERNEL_LATEST_VERSION),y) +ifeq ($(BR2_LINUX_KERNEL)$(BR2_LINUX_KERNEL_LATEST_SERIES),y) BR_NO_CHECK_HASH_FOR += $(LINUX_SOURCE) endif
package/linux-headers/Config.in.host +1 -3
@@ -113,9 +113,7 @@ endif choice bool "Custom kernel headers series" - depends on !BR2_LINUX_KERNEL_LATEST_VERSION || !BR2_KERNEL_HEADERS_AS_KERNEL - depends on !BR2_LINUX_KERNEL_LATEST_CIP_VERSION || !BR2_KERNEL_HEADERS_AS_KERNEL - depends on !BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION || !BR2_KERNEL_HEADERS_AS_KERNEL + depends on !BR2_LINUX_KERNEL_LATEST_SERIES || !BR2_KERNEL_HEADERS_AS_KERNEL depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL || \ BR2_KERNEL_HEADERS_CUSTOM_TARBALL || BR2_KERNEL_HEADERS_CUSTOM_GIT help
Signature · 6 lines
2.46.2.windows.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot