config/libc/uClibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 29 20:24:50 2010 +0200 (2010-03-29)
changeset 1870 a4c4e51aa541
parent 1735 0fae7f9d609b
child 1882 7daf6f84ead6
permissions -rw-r--r--
config: fix style issues when source-ing files

Always enclose the sourced file between double-quotes (purely for
consistency; enclosing or not are both allowed by the kconfig language).
     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_UCLIBC_V_0_9_30_2
    18     bool
    19     prompt "0.9.30.2"
    20     select LIBC_UCLIBC_0_9_30_or_later
    21 
    22 config LIBC_V_0_9_30_1
    23     bool
    24     prompt "0.9.30.1"
    25     select LIBC_UCLIBC_0_9_30_or_later
    26 
    27 config LIBC_V_0_9_30
    28     bool
    29     prompt "0.9.30"
    30     select LIBC_UCLIBC_0_9_30_or_later
    31 
    32 config LIBC_V_0_9_29
    33     bool
    34     prompt "0.9.29 (OBSOLETE)"
    35     depends on OBSOLETE
    36 
    37 config LIBC_V_0_9_28_3
    38     bool
    39     prompt "0.9.28.3 (OBSOLETE)"
    40     depends on OBSOLETE
    41 
    42 config LIBC_V_snapshot
    43     bool
    44     prompt "latest snapshot (EXPERIMENTAL)"
    45     depends on EXPERIMENTAL
    46 
    47 config LIBC_V_specific_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_specific_date
    57 # Don't remove next line
    58 # CT_INSERT_VERSION_STRING_BELOW
    59     default "0.9.30.2" if LIBC_UCLIBC_V_0_9_30_2
    60     default "0.9.30.1" if LIBC_V_0_9_30_1
    61     default "0.9.30" if LIBC_V_0_9_30
    62     default "0.9.29" if LIBC_V_0_9_29
    63     default "0.9.28.3" if LIBC_V_0_9_28_3
    64     default "snapshot" if LIBC_V_snapshot
    65 
    66 config LIBC_UCLIBC_0_9_30_or_later
    67     bool
    68     default n
    69     select LIBC_UCLIBC_PARALLEL
    70 
    71 config LIBC_UCLIBC_PARALLEL
    72     bool
    73     default n
    74 
    75 choice
    76     bool
    77     prompt "uClibc verbosity:"
    78     default LIBC_UCLIBC_VERBOSITY_0
    79 
    80 config LIBC_UCLIBC_VERBOSITY_0
    81     bool
    82     prompt "Simplified"
    83     help
    84       Print simplified command lines.
    85 
    86 config LIBC_UCLIBC_VERBOSITY_1
    87     bool
    88     prompt "Full commands"
    89     help
    90       Print full command lines.
    91 
    92 endchoice
    93 
    94 config LIBC_UCLIBC_VERBOSITY
    95     string
    96     default ""      if LIBC_UCLIBC_VERBOSITY_0
    97     default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
    98 
    99 choice
   100     bool
   101     prompt "Debug level"
   102     default LIBC_UCLIBC_DEBUG_LEVEL_0
   103 
   104 config LIBC_UCLIBC_DEBUG_LEVEL_0
   105     bool
   106     prompt "none"
   107 
   108 config LIBC_UCLIBC_DEBUG_LEVEL_1
   109     bool
   110     prompt "minimal"
   111 
   112 config LIBC_UCLIBC_DEBUG_LEVEL_2
   113     bool
   114     prompt "all"
   115 
   116 endchoice
   117 
   118 config LIBC_UCLIBC_DEBUG_LEVEL
   119     int
   120     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
   121     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
   122     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
   123 
   124 config LIBC_UCLIBC_BUILD_CROSS_LDD
   125     bool
   126     prompt "Build cross-ldd"
   127     default y
   128     help
   129       Say 'y' here to build a cross-ldd to run in the host.
   130       
   131       Building a cross-ldd only works on ELF systems, that is,
   132       if you build under Cygwin, you *must* say 'n' here.
   133 
   134 config LIBC_UCLIBC_CONFIG_FILE
   135     string
   136     prompt "Configuration file"
   137     default ""
   138     help
   139       Path to the configuration file.
   140       
   141       You _must_ provide one (for now).
   142 
   143 config LIBC_UCLIBC_LOCALES
   144     bool
   145     select LIBC_UCLIBC_WCHAR
   146     prompt "Add support for locales"
   147     default n
   148     help
   149       Say y if you want uClibc to support localisation.
   150 
   151       Note that seems to be broken on recent uClibc releases.
   152 
   153 config LIBC_UCLIBC_WCHAR
   154     bool
   155     prompt "Add support for WCHAR"
   156     default n
   157     help
   158       Say y if you want uClibc to support WCHAR.
   159 
   160       Maybe this is needed, if you're building a C++-Compiler