config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Oct 13 16:58:52 2008 +0000 (2008-10-13)
changeset 923 54fc137f9dc8
parent 865 04cf91f13430
child 1114 c3516fc7460d
permissions -rw-r--r--
Generate the choice menu for C compilers, the same way arch, kernels and C libraries are generated.

/trunk/kconfig/kconfig.mk | 6 6 0 0 ++++++
/trunk/config/cc/gcc.in | 13 13 0 0 +++++++++++++
/trunk/config/cc.in | 31 3 28 0 +++----------------------------
3 files changed, 22 insertions(+), 28 deletions(-)
     1 # glibc options
     2 
     3 config LIBC_glibc
     4     select LIBC_SUPPORT_NPTL
     5     select LIBC_SUPPORT_LINUXTHREADS
     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 "glibc version"
    13 
    14 config LIBC_V_2_3_6
    15     bool
    16     prompt "2.3.6 (OBSOLETE)"
    17     depends on OBSOLETE
    18 
    19 config LIBC_V_2_5
    20     bool
    21     prompt "2.5"
    22 
    23 config LIBC_V_2_5_1
    24     bool
    25     prompt "2.5.1"
    26 
    27 config LIBC_V_2_6
    28     bool
    29     prompt "2.6"
    30 
    31 config LIBC_V_2_6_1
    32     bool
    33     prompt "2.6.1"
    34 
    35 config LIBC_V_2_7
    36     bool
    37     prompt "2.7"
    38 
    39 # CT_INSERT_VERSION_ABOVE
    40 # Don't remove above line!
    41 
    42 config LIBC_V_LATEST
    43     bool
    44     prompt "'latest' snapshot (EXPERIMENTAL)"
    45     depends on EXPERIMENTAL
    46 
    47 config LIBC_V_date
    48     bool
    49     prompt "<specific date> (EXPERIMENTAL)"
    50     depends on EXPERIMENTAL
    51 
    52 endchoice
    53 
    54 config LIBC_VERSION
    55     string
    56     prompt "Enter date (YYYYMMDD)" if LIBC_V_date
    57     default "latest" if LIBC_V_LATEST
    58     default "2.3.6" if LIBC_V_2_3_6
    59     default "2.4" if LIBC_V_2_4
    60     default "2.5" if LIBC_V_2_5
    61     default "2.5.1" if LIBC_V_2_5_1
    62     default "2.6" if LIBC_V_2_6
    63     default "2.6.1" if LIBC_V_2_6_1
    64     default "2.7" if LIBC_V_2_7
    65 # CT_INSERT_VERSION_STRING_ABOVE
    66 # Don't remove above line!
    67