2014-02-10 18:43:46 +01:00
|
|
|
if BR2_TOOLCHAIN_BUILDROOT_GLIBC
|
|
|
|
|
2014-07-25 22:06:27 +02:00
|
|
|
config BR2_PACKAGE_GLIBC
|
|
|
|
bool
|
|
|
|
default y
|
2015-12-30 00:10:38 +01:00
|
|
|
select BR2_PACKAGE_LINUX_HEADERS
|
2016-03-15 17:40:38 +01:00
|
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
2014-07-25 22:06:27 +02:00
|
|
|
|
2014-02-10 18:43:46 +01:00
|
|
|
choice
|
|
|
|
prompt "glibc version"
|
2017-02-25 01:34:45 +01:00
|
|
|
default BR2_GLIBC_VERSION_2_24
|
2014-09-08 12:53:21 +02:00
|
|
|
|
2016-02-19 14:32:33 +01:00
|
|
|
config BR2_GLIBC_VERSION_2_23
|
|
|
|
bool "2.23"
|
2015-08-07 15:37:33 +02:00
|
|
|
|
2016-08-10 11:28:48 +02:00
|
|
|
config BR2_GLIBC_VERSION_2_24
|
|
|
|
bool "2.24"
|
|
|
|
# Linux 3.2 or later kernel headers are required on all arches.
|
|
|
|
# See: https://sourceware.org/ml/libc-alpha/2016-08/msg00212.html
|
|
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
|
|
|
|
|
2017-02-25 01:34:46 +01:00
|
|
|
config BR2_GLIBC_VERSION_2_25
|
|
|
|
bool "2.25"
|
|
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
|
|
|
|
|
|
|
|
comment "glibc-2.24+ needs kernel headers >= 3.2"
|
2016-08-10 11:28:48 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
|
|
|
|
|
2014-02-10 18:43:46 +01:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif
|
2014-06-01 21:33:58 +02:00
|
|
|
|
|
|
|
config BR2_GLIBC_VERSION_STRING
|
|
|
|
string
|
2016-02-19 14:32:33 +01:00
|
|
|
default "2.23" if BR2_GLIBC_VERSION_2_23
|
2016-08-10 11:28:48 +02:00
|
|
|
default "2.24" if BR2_GLIBC_VERSION_2_24
|
2017-02-25 01:34:46 +01:00
|
|
|
default "2.25" if BR2_GLIBC_VERSION_2_25
|