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_24
13 config BR2_GLIBC_VERSION_2_23
16 config BR2_GLIBC_VERSION_2_24
18 # Linux 3.2 or later kernel headers are required on all arches.
19 # See: https://sourceware.org/ml/libc-alpha/2016-08/msg00212.html
20 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
22 config BR2_GLIBC_VERSION_2_25
24 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
26 comment "glibc-2.24+ needs kernel headers >= 3.2"
27 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
33 config BR2_GLIBC_VERSION_STRING
35 default "2.23" if BR2_GLIBC_VERSION_2_23
36 default "2.24" if BR2_GLIBC_VERSION_2_24
37 default "2.25" if BR2_GLIBC_VERSION_2_25