config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Feb 21 23:42:20 2011 +0100 (2011-02-21)
changeset 2315 0c0734c5d62c
parent 2267 7af68e6083aa
child 2438 2ba5655f6297
permissions -rw-r--r--
libc/glibc: LinuxThreads are no longer supported in latest versions

In fact, it is only supported in a few legacy versions.

Keep LT available for all eglibc versions, although it might need
a similar safeguard...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # glibc options
     2 # depends on ! MINGW32 && ! BARE_METAL && ARCH_USE_MMU
     3 
     4 config LIBC_glibc
     5     select LIBC_SUPPORT_NPTL
     6     help
     7       The de-facto standard for Linux distributions.
     8       Feature-rich, but large...  Most usefull for desktop-like systems.
     9 
    10 choice
    11     bool
    12     prompt "Retrieval method"
    13     default LIBC_GLIBC_TARBALL
    14 
    15 config LIBC_GLIBC_TARBALL
    16     bool
    17     prompt "Released tarball"
    18     help
    19       Until end of Februrary 2009, there was no tarball for glibc releases
    20       2.8 and later. This was intentional.
    21       
    22       Then, all of a sudden, tarballs for those releases have appeared at the
    23       traditional download place (ftp.gnu.org).
    24       
    25       Some of the glibc people argue that fixes are committed to the maintenance
    26       branch, and thus it is the best plac e to retrieve the glibc from.
    27       On the other hand, it might be preferable to always generate a toolchain
    28       using a known code-base, so the toolchain can be reproducible.
    29       
    30       For version prior to 2.8, tarballs were readily available.
    31       
    32       If you want your toolchain to really be reproducible, say 'Y' here.
    33       If you can live with a moving code-base, look at the other choice
    34       entries, below.
    35 
    36 endchoice
    37 
    38 choice
    39     bool
    40     prompt "glibc version"
    41 # Don't remove next line
    42 # CT_INSERT_VERSION_BELOW
    43 
    44 config LIBC_GLIBC_V_2_12_2
    45     bool
    46     prompt "2.12.2 (EXPERIMENTAL)"
    47     depends on EXPERIMENTAL
    48 
    49 config LIBC_GLIBC_V_2_12_1
    50     bool
    51     prompt "2.12.1 (EXPERIMENTAL)"
    52     depends on EXPERIMENTAL
    53 
    54 config LIBC_GLIBC_V_2_11_1
    55     bool
    56     prompt "2.11.1 (EXPERIMENTAL)"
    57     depends on EXPERIMENTAL
    58 
    59 config LIBC_GLIBC_V_2_11
    60     bool
    61     prompt "2.11 (EXPERIMENTAL)"
    62     depends on EXPERIMENTAL
    63 
    64 config LIBC_GLIBC_V_2_10_1
    65     bool
    66     prompt "2.10.1 (EXPERIMENTAL)"
    67     depends on EXPERIMENTAL
    68     select LIBC_GLIBC_USE_PORTS
    69 
    70 config LIBC_GLIBC_V_2_9
    71     bool
    72     prompt "2.9"
    73 
    74 config LIBC_GLIBC_V_2_8
    75     bool
    76     prompt "2.8"
    77 
    78 config LIBC_GLIBC_V_2_7
    79     bool
    80     prompt "2.7 (OBSOLETE)"
    81     depends on OBSOLETE
    82 
    83 config LIBC_GLIBC_V_2_6_1
    84     bool
    85     prompt "2.6.1 (OBSOLETE)"
    86     depends on OBSOLETE
    87 
    88 config LIBC_GLIBC_V_2_6
    89     bool
    90     prompt "2.6 (OBSOLETE)"
    91     depends on OBSOLETE
    92 
    93 config LIBC_GLIBC_V_2_5_1
    94     bool
    95     prompt "2.5.1 (OBSOLETE)"
    96     depends on OBSOLETE
    97     select LIBC_SUPPORT_LINUXTHREADS
    98 
    99 config LIBC_GLIBC_V_2_5
   100     bool
   101     prompt "2.5 (OBSOLETE)"
   102     depends on OBSOLETE
   103     select LIBC_SUPPORT_LINUXTHREADS
   104 
   105 endchoice
   106 
   107 config LIBC_VERSION
   108     string
   109 # Don't remove next line
   110 # CT_INSERT_VERSION_STRING_BELOW
   111     default "2.12.2" if LIBC_GLIBC_V_2_12_2
   112     default "2.12.1" if LIBC_GLIBC_V_2_12_1
   113     default "2.11.1" if LIBC_GLIBC_V_2_11_1
   114     default "2.11" if LIBC_GLIBC_V_2_11
   115     default "2.10.1" if LIBC_GLIBC_V_2_10_1
   116     default "2.9" if LIBC_GLIBC_V_2_9
   117     default "2.8" if LIBC_GLIBC_V_2_8
   118     default "2.7" if LIBC_GLIBC_V_2_7
   119     default "2.6.1" if LIBC_GLIBC_V_2_6_1
   120     default "2.6" if LIBC_GLIBC_V_2_6
   121     default "2.5.1" if LIBC_GLIBC_V_2_5_1
   122     default "2.5" if LIBC_GLIBC_V_2_5