diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-11 07:55:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-11 07:55:33 (GMT) |
commit | 4d49730711731efc99f371da3b533c3f703fa3e5 (patch) | |
tree | 483c0a382d7f68f197df56d89bc4eacb4c92bc21 /config/libc/glibc.in.2 | |
parent | 93db5800918ad7afbb6e6781fd48f504eb1eca76 (diff) | |
parent | 4ccbf49d1109bc435253d24b901d53feb37fb22b (diff) |
Merge pull request #586 from stilor/restore-old-kernel-libc
Restore old kernel/glibc versions
Diffstat (limited to 'config/libc/glibc.in.2')
-rw-r--r-- | config/libc/glibc.in.2 | 47 |
1 files changed, 16 insertions, 31 deletions
diff --git a/config/libc/glibc.in.2 b/config/libc/glibc.in.2 index 77afc1b..9d3c2e1 100644 --- a/config/libc/glibc.in.2 +++ b/config/libc/glibc.in.2 @@ -5,19 +5,22 @@ # This list must be carefully in sync with the architectures names # we can find in config/arch/* +# Ports were integrated into the main tarball in 2.17 config LIBC_GLIBC_PORTS_EXTERNAL - bool - default n + def_bool y + depends on !LIBC_GLIBC_2_17_or_later -config LIBC_GLIBC_MAY_FORCE_PORTS - bool - default y if ARCH_arm - default y if ARCH_mips - select LIBC_GLIBC_USE_PORTS - depends on !LIBC_GLIBC_2_20_or_later +config LIBC_GLIBC_NEEDS_PORTS + def_bool y + depends on ARCH_alpha || ARCH_arm || ARCH_m68k || ARCH_mips || ARCH_powerpc + +# Ports are no longer an add-on starting with 2.20 +config LIBC_GLIBC_USE_PORTS + def_bool y + depends on LIBC_GLIBC_NEEDS_PORTS && !LIBC_GLIBC_2_20_or_later # Force using the BFD linker during the toolchain build -config LIBC_glibc_familly +config LIBC_glibc_family bool default y select BINUTILS_FORCE_LD_BFD_DEFAULT @@ -109,19 +112,6 @@ config LIBC_GLIBC_FORCE_UNWIND of glibc on some architectures (seen on s390, s390x and x86_64). -config LIBC_GLIBC_USE_PORTS - bool - prompt "Use the ports addon" - depends on !LIBC_GLIBC_2_20_or_later - help - The ports addon contains some architecture ports that are not available - in the official distribution. - - For example, this is the case for ARM with glibc-2.4 and above. - - Say n only if you're sure that your architecture is in the official - distribution for your chosen version. - config LIBC_ADDONS_LIST string prompt "Extra addons" @@ -131,17 +121,12 @@ config LIBC_ADDONS_LIST You need to specify neither linuxthreads nor nptl, as they are added automagically for you depending on the threading model you chose - earlier. + earlier and on libc version selected. - Eg.: crypt (for very old libces) + Also, do not specify ports even if applicable to the selected libc + version/architecture; it is selected automatically. -if LIBC_GLIBC_USE_PORTS || ( LIBC_ADDONS_LIST != "" ) -comment "WARNING !!! " -comment "| For glibc >= 2.8, it can happen that the tarballs " -comment "| for the addons are not available for download. " -comment "| If that happens, bad luck... Try a previous version " -comment "| or try again later... :-( " -endif + Eg.: libidn config LIBC_LOCALES bool |