config/libc/uClibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Jan 13 20:46:01 2010 +0100 (2010-01-13)
changeset 1732 6b2ae7804c6f
parent 1615 50b25816f5bb
child 1735 0fae7f9d609b
permissions -rw-r--r--
debug/gdb: staticaly link to ncurses for the native gdb

Staticaly link the native gdb (the one that runs on the target,
not the cross one that runs on the host) to ncurses.
     1 # uClibc options
     2 # depends on ! BARE_METAL
     3 
     4 config LIBC_uClibc
     5     select LIBC_SUPPORT_LINUXTHREADS
     6     help
     7       The de-facto standard for embeded linux systems.
     8       Highly configurable, thus as feature-rich as you need, without
     9       compromising for size.
    10 
    11 choice
    12     bool
    13     prompt "uClibc version"
    14 # Don't remove next line
    15 # CT_INSERT_VERSION_BELOW
    16 
    17 config LIBC_V_0_9_30_1
    18     bool
    19     prompt "0.9.30.1"
    20     select LIBC_UCLIBC_0_9_30_or_later
    21 
    22 config LIBC_V_0_9_30
    23     bool
    24     prompt "0.9.30"
    25     select LIBC_UCLIBC_0_9_30_or_later
    26 
    27 config LIBC_V_0_9_29
    28     bool
    29     prompt "0.9.29 (OBSOLETE)"
    30     depends on OBSOLETE
    31 
    32 config LIBC_V_0_9_28_3
    33     bool
    34     prompt "0.9.28.3 (OBSOLETE)"
    35     depends on OBSOLETE
    36 
    37 config LIBC_V_snapshot
    38     bool
    39     prompt "latest snapshot (EXPERIMENTAL)"
    40     depends on EXPERIMENTAL
    41 
    42 config LIBC_V_specific_date
    43     bool
    44     prompt "<specific date> (EXPERIMENTAL)"
    45     depends on EXPERIMENTAL
    46 
    47 endchoice
    48 
    49 config LIBC_VERSION
    50     string
    51     prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
    52 # Don't remove next line
    53 # CT_INSERT_VERSION_STRING_BELOW
    54     default "0.9.30.1" if LIBC_V_0_9_30_1
    55     default "0.9.30" if LIBC_V_0_9_30
    56     default "0.9.29" if LIBC_V_0_9_29
    57     default "0.9.28.3" if LIBC_V_0_9_28_3
    58     default "snapshot" if LIBC_V_snapshot
    59 
    60 config LIBC_UCLIBC_0_9_30_or_later
    61     bool
    62     default n
    63     select LIBC_UCLIBC_PARALLEL
    64 
    65 config LIBC_UCLIBC_PARALLEL
    66     bool
    67     default n
    68 
    69 choice
    70     bool
    71     prompt "uClibc verbosity:"
    72     default LIBC_UCLIBC_VERBOSITY_0
    73 
    74 config LIBC_UCLIBC_VERBOSITY_0
    75     bool
    76     prompt "Simplified"
    77     help
    78       Print simplified command lines.
    79 
    80 config LIBC_UCLIBC_VERBOSITY_1
    81     bool
    82     prompt "Full commands"
    83     help
    84       Print full command lines.
    85 
    86 endchoice
    87 
    88 config LIBC_UCLIBC_VERBOSITY
    89     string
    90     default ""      if LIBC_UCLIBC_VERBOSITY_0
    91     default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
    92 
    93 choice
    94     bool
    95     prompt "Debug level"
    96     default LIBC_UCLIBC_DEBUG_LEVEL_0
    97 
    98 config LIBC_UCLIBC_DEBUG_LEVEL_0
    99     bool
   100     prompt "none"
   101 
   102 config LIBC_UCLIBC_DEBUG_LEVEL_1
   103     bool
   104     prompt "minimal"
   105 
   106 config LIBC_UCLIBC_DEBUG_LEVEL_2
   107     bool
   108     prompt "all"
   109 
   110 endchoice
   111 
   112 config LIBC_UCLIBC_DEBUG_LEVEL
   113     int
   114     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
   115     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
   116     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
   117 
   118 config LIBC_UCLIBC_BUILD_CROSS_LDD
   119     bool
   120     prompt "Build cross-ldd"
   121     default y
   122     help
   123       Say 'y' here to build a cross-ldd to run in the host.
   124       
   125       Building a cross-ldd only works on ELF systems, that is,
   126       if you build under Cygwin, you *must* say 'n' here.
   127 
   128 config LIBC_UCLIBC_CONFIG_FILE
   129     string
   130     prompt "Configuration file"
   131     default ""
   132     help
   133       Path to the configuration file.
   134       
   135       You _must_ provide one (for now).
   136 
   137 config LIBC_UCLIBC_LOCALES
   138     bool
   139     select LIBC_UCLIBC_WCHAR
   140     prompt "Add support for locales"
   141     default n
   142     help
   143       Say y if you want uClibc to support localisation.
   144 
   145       Note that seems to be broken on recent uClibc releases.
   146 
   147 config LIBC_UCLIBC_WCHAR
   148     bool
   149     prompt "Add support for WCHAR"
   150     default n
   151     help
   152       Say y if you want uClibc to support WCHAR.
   153 
   154       Maybe this is needed, if you're building a C++-Compiler