config/libc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jun 27 15:08:43 2008 +0000 (2008-06-27)
changeset 631 2761b358f9e6
parent 446 d205527c5e01
child 710 021546adce69
permissions -rw-r--r--
Only present each of arch, abi, cpu tune and fpu optimisations for those targets supporting them.

/trunk/config/target.in | 30 30 0 0 ++++++++++++++++++++++++++++++
/trunk/arch/arm/config.in | 5 5 0 0 +++++
/trunk/arch/powerpc/config.in | 3 3 0 0 +++
/trunk/arch/alpha/config.in | 2 2 0 0 ++
/trunk/arch/x86/config.in | 3 3 0 0 +++
/trunk/arch/mips/config.in | 3 3 0 0 +++
/trunk/arch/x86_64/config.in | 3 3 0 0 +++
7 files changed, 49 insertions(+)
     1 # C library options
     2 
     3 menu "C-library"
     4 
     5 choice
     6     bool
     7     prompt "C-library to use:"
     8     default LIBC_GLIBC
     9 
    10 config LIBC_GLIBC
    11     bool
    12     prompt "glibc"
    13     select LIBC_SUPPORT_NPTL
    14     select LIBC_SUPPORT_LINUXTHREADS
    15 
    16 config LIBC_UCLIBC
    17     bool
    18     prompt "uClibc"
    19     select LIBC_SUPPORT_LINUXTHREADS
    20 
    21 endchoice
    22 
    23 config LIBC_VERSION
    24     string
    25 
    26 config LIBC
    27     string
    28     default "glibc" if LIBC_GLIBC
    29     default "uClibc" if LIBC_UCLIBC
    30 
    31 config LIBC_SUPPORT_NPTL
    32     bool
    33     default n
    34 
    35 config LIBC_SUPPORT_LINUXTHREADS
    36     bool
    37     default n
    38 
    39 if LIBC_GLIBC
    40 source config/libc/glibc.in
    41 endif
    42 
    43 if LIBC_UCLIBC
    44 source config/libc/uClibc.in
    45 endif
    46 
    47 endmenu