[openwrt/openwrt] toolchain: glibc: Increase minimum kernel version to 5.4

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 7 16:28:34 PST 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1b251d36ef4e63385b48befe6ce80fcff57264e1

commit 1b251d36ef4e63385b48befe6ce80fcff57264e1
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Tue Dec 28 21:28:53 2021 +0100

    toolchain: glibc: Increase minimum kernel version to 5.4
    
    Increase the minimum kernel version needed by the glibc compiled for
    OpenWrt to version 5.4. With this setting the glibc build will remove
    all code needed to support older kernel versions.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 toolchain/glibc/common.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk
index aa8458360f..19610c1e90 100644
--- a/toolchain/glibc/common.mk
+++ b/toolchain/glibc/common.mk
@@ -63,7 +63,7 @@ GLIBC_CONFIGURE:= \
 		--$(if $(CONFIG_SOFT_FLOAT),without,with)-fp \
 		  $(if $(CONFIG_PKG_CC_STACKPROTECTOR_REGULAR),--enable-stack-protector=yes) \
 		  $(if $(CONFIG_PKG_CC_STACKPROTECTOR_STRONG),--enable-stack-protector=strong) \
-		--enable-kernel=4.14.0
+		--enable-kernel=5.4.0
 
 export libc_cv_ssp=no
 export libc_cv_ssp_strong=no



More information about the lede-commits mailing list