瀏覽代碼

toolchain: glibc: Define minimum support kernel version as 4.14

This will compile glibc in a way that it will only support kernel 4.14
and later. Compatibility code for older kernel versions will be removed.

Signed-off-by: Hauke Mehrtens <[email protected]>
Hauke Mehrtens 5 年之前
父節點
當前提交
a2cf87a7b1
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      toolchain/glibc/common.mk

+ 2 - 1
toolchain/glibc/common.mk

@@ -60,7 +60,8 @@ GLIBC_CONFIGURE:= \
 		--without-gd \
 		--without-cvs \
 		--enable-add-ons \
-		--$(if $(CONFIG_SOFT_FLOAT),without,with)-fp
+		--$(if $(CONFIG_SOFT_FLOAT),without,with)-fp \
+		--enable-kernel=4.14.0
 
 export libc_cv_ssp=no
 export libc_cv_ssp_strong=no