config/libc/uClibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Jul 28 01:38:15 2010 +0200 (2010-07-28)
changeset 2037 cd00fdab6117
parent 2033 ffc1121618fa
child 2039 c5a2e4ee7fb8
permissions -rw-r--r--
libc/uClibc: fix using pre-generated locale data

Some time, someone updated the locale Makefile to use
newer pre-generated locales data, but did not upload
those.

So we just force using the existing, ageing archive,
dating back 20030818. Sigh...
     1 # uClibc options
     2 # depends on ! MINGW32 && ! 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_UCLIBC_V_0_9_31
    18     bool
    19     prompt "0.9.31 (EXPERIMENTAL)"
    20     depends on EXPERIMENTAL
    21     select LIBC_UCLIBC_0_9_30_or_later
    22 
    23 config LIBC_UCLIBC_V_0_9_30_2
    24     bool
    25     prompt "0.9.30.2"
    26     select LIBC_UCLIBC_0_9_30_or_later
    27 
    28 config LIBC_V_0_9_30_1
    29     bool
    30     prompt "0.9.30.1"
    31     select LIBC_UCLIBC_0_9_30_or_later
    32 
    33 config LIBC_V_0_9_30
    34     bool
    35     prompt "0.9.30"
    36     select LIBC_UCLIBC_0_9_30_or_later
    37 
    38 config LIBC_V_0_9_29
    39     bool
    40     prompt "0.9.29 (OBSOLETE)"
    41     depends on OBSOLETE
    42 
    43 config LIBC_V_0_9_28_3
    44     bool
    45     prompt "0.9.28.3 (OBSOLETE)"
    46     depends on OBSOLETE
    47 
    48 # As of today (20100702) we can be pretty sure that every
    49 # snapshots made since a month ago are post -0.9.30.
    50 
    51 config LIBC_V_snapshot
    52     bool
    53     prompt "latest snapshot (EXPERIMENTAL)"
    54     depends on EXPERIMENTAL
    55     select LIBC_SUPPORT_NPTL
    56     select LIBC_UCLIBC_0_9_30_or_later
    57 
    58 config LIBC_V_specific_date
    59     bool
    60     prompt "<specific date> (EXPERIMENTAL)"
    61     depends on EXPERIMENTAL
    62     select LIBC_SUPPORT_NPTL
    63     select LIBC_UCLIBC_0_9_30_or_later
    64 
    65 endchoice
    66 
    67 config LIBC_VERSION
    68     string
    69     prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
    70 # Don't remove next line
    71 # CT_INSERT_VERSION_STRING_BELOW
    72     default "0.9.31" if LIBC_UCLIBC_V_0_9_31
    73     default "0.9.30.2" if LIBC_UCLIBC_V_0_9_30_2
    74     default "0.9.30.1" if LIBC_V_0_9_30_1
    75     default "0.9.30" if LIBC_V_0_9_30
    76     default "0.9.29" if LIBC_V_0_9_29
    77     default "0.9.28.3" if LIBC_V_0_9_28_3
    78     default "snapshot" if LIBC_V_snapshot
    79 
    80 config LIBC_UCLIBC_0_9_30_or_later
    81     bool
    82     default n
    83     select LIBC_UCLIBC_PARALLEL
    84 
    85 config LIBC_UCLIBC_PARALLEL
    86     bool
    87     default n
    88 
    89 choice
    90     bool
    91     prompt "uClibc verbosity:"
    92     default LIBC_UCLIBC_VERBOSITY_0
    93 
    94 config LIBC_UCLIBC_VERBOSITY_0
    95     bool
    96     prompt "Quiet build"
    97     help
    98       Print terse command indications.
    99 
   100 config LIBC_UCLIBC_VERBOSITY_1
   101     bool
   102     prompt "Brief build (show defines, ld flags)"
   103     help
   104       Print simplified command lines.
   105 
   106 config LIBC_UCLIBC_VERBOSITY_2
   107     bool
   108     prompt "Very verbose build"
   109     help
   110       Print full command lines.
   111 
   112 endchoice
   113 
   114 config LIBC_UCLIBC_VERBOSITY
   115     string
   116     default ""      if LIBC_UCLIBC_VERBOSITY_0
   117     default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
   118     default "V=2"   if LIBC_UCLIBC_VERBOSITY_2
   119 
   120 choice
   121     bool
   122     prompt "Debug level"
   123     default LIBC_UCLIBC_DEBUG_LEVEL_0
   124 
   125 config LIBC_UCLIBC_DEBUG_LEVEL_0
   126     bool
   127     prompt "none"
   128 
   129 config LIBC_UCLIBC_DEBUG_LEVEL_1
   130     bool
   131     prompt "minimal"
   132 
   133 config LIBC_UCLIBC_DEBUG_LEVEL_2
   134     bool
   135     prompt "all"
   136 
   137 endchoice
   138 
   139 config LIBC_UCLIBC_DEBUG_LEVEL
   140     int
   141     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
   142     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
   143     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
   144 
   145 config LIBC_UCLIBC_CONFIG_FILE
   146     string
   147     prompt "Configuration file"
   148     default ""
   149     help
   150       Path to the configuration file.
   151       
   152       You _must_ provide one (for now).
   153 
   154 config LIBC_UCLIBC_LOCALES
   155     bool
   156     select LIBC_UCLIBC_WCHAR
   157     prompt "Add support for locales"
   158     default n
   159     help
   160       Say y if you want uClibc to support localisation.
   161 
   162       Note that seems to be broken on recent uClibc releases.
   163 
   164 config LIBC_UCLIBC_LOCALES_PREGEN_DATA
   165     bool
   166     prompt "Use pregen locales"
   167     depends on LIBC_UCLIBC_LOCALES
   168     default y
   169     help
   170       If you see issues with using pre-generated locales data,
   171       you can try switching this off.
   172       
   173       If so, please report the issue, so we can default this
   174       to off if too many people complain.
   175 
   176 config LIBC_UCLIBC_WCHAR
   177     bool
   178     prompt "Add support for WCHAR"
   179     default n
   180     help
   181       Say y if you want uClibc to support WCHAR.
   182 
   183       Maybe this is needed, if you're building a C++-Compiler