1 if BR2_TOOLCHAIN_BUILDROOT_GLIBC
3 config BR2_PACKAGE_GLIBC
6 select BR2_PACKAGE_LINUX_HEADERS
7 select BR2_TOOLCHAIN_HAS_SSP
10 prompt "glibc version"
11 default BR2_GLIBC_VERSION_2_23
13 config BR2_GLIBC_VERSION_2_22
15 # Too old to build with gcc >= 6.x
16 depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6
18 config BR2_GLIBC_VERSION_2_23
21 config BR2_GLIBC_VERSION_2_24
23 # Linux 3.2 or later kernel headers are required on all arches.
24 # See: https://sourceware.org/ml/libc-alpha/2016-08/msg00212.html
25 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
27 comment "glibc-2.24 needs kernel headers >= 3.2"
28 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
34 config BR2_GLIBC_VERSION_STRING
36 default "2.22" if BR2_GLIBC_VERSION_2_22
37 default "2.23" if BR2_GLIBC_VERSION_2_23
38 default "2.24" if BR2_GLIBC_VERSION_2_24