0b87314aa5
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
33 lines
653 B
Plaintext
33 lines
653 B
Plaintext
if BR2_TOOLCHAIN_BUILDROOT_GLIBC
|
|
|
|
config BR2_PACKAGE_GLIBC
|
|
bool
|
|
default y
|
|
select BR2_PACKAGE_LINUX_HEADERS
|
|
select BR2_TOOLCHAIN_HAS_SSP
|
|
|
|
choice
|
|
prompt "glibc version"
|
|
default BR2_GLIBC_VERSION_2_23
|
|
|
|
config BR2_GLIBC_VERSION_2_22
|
|
bool "2.22"
|
|
# No support for pthread barriers on < v9 ISA
|
|
depends on !BR2_sparc
|
|
# Too old to build with gcc >= 6.x
|
|
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
|
|
|
config BR2_GLIBC_VERSION_2_23
|
|
bool "2.23"
|
|
# No support for pthread barriers on < v9 ISA
|
|
depends on !BR2_sparc
|
|
|
|
endchoice
|
|
|
|
endif
|
|
|
|
config BR2_GLIBC_VERSION_STRING
|
|
string
|
|
default "2.22" if BR2_GLIBC_VERSION_2_22
|
|
default "2.23" if BR2_GLIBC_VERSION_2_23
|