config/libc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Jun 25 21:56:36 2008 +0000 (2008-06-25)
changeset 622 259d3b95bfad
parent 446 d205527c5e01
child 710 021546adce69
permissions -rw-r--r--
Don't force building target GMP and MPFR when a native gdb is built. Rather,
add a config knob to configure the native gdb to use or not to use GMP and
MPFR; _this_config_knob_ will force building the target GMP and MPFR only if
turned on.

/trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +-
/trunk/config/debug/gdb.in | 21 19 2 0 +++++++++++++++++++--
2 files changed, 20 insertions(+), 3 deletions(-)
     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