c8e68150bf
Make it a choice menu which offers the 3 C libraries we know about: glibc, uClibc and musl. While at it, make it possible for the external toolchain libc to select USE_GLIBC, USE_UCLIBC or USE_MUSL which is used by several packages to conditionally include specific CFLAGS (e.g: iproute2). Because USE_GLIBC et al. can now be selected by external toolchains, we need to restrict the per-libc menus to check on !EXTERNAL_TOOLCHAIN. While at it, make musl the default C library for external toolchain to match the internal toolchain. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
12 lines
270 B
Text
12 lines
270 B
Text
choice
|
|
prompt "glibc version"
|
|
depends on TOOLCHAINOPTS && USE_GLIBC && !EXTERNAL_TOOLCHAIN
|
|
default GLIBC_USE_VERSION_2_24
|
|
help
|
|
Select the version of glibc you wish to use.
|
|
|
|
config GLIBC_USE_VERSION_2_24
|
|
bool "glibc 2.24"
|
|
select GLIBC_VERSION_2_24
|
|
|
|
endchoice
|