config/libc/uClibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 13 18:38:06 2009 +0200 (2009-09-13)
changeset 1535 073d351bdcd3
parent 1534 d4ddf19a1968
child 1603 e0ef539e23d9
permissions -rw-r--r--
scripts: add new version at top of choice

Add new versions at the top of the choice menu, not at the bottom.
     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"
    30 
    31 config LIBC_V_0_9_28_3
    32     bool
    33     prompt "0.9.28.3"
    34 
    35 config LIBC_V_0_9_28_2
    36     bool
    37     prompt "0.9.28.2 (OBSOLETE)"
    38     depends on OBSOLETE
    39 
    40 config LIBC_V_0_9_28_1
    41     bool
    42     prompt "0.9.28.1 (OBSOLETE)"
    43     depends on OBSOLETE
    44 
    45 config LIBC_V_0_9_28
    46     bool
    47     prompt "0.9.28 (OBSOLETE)"
    48     depends on OBSOLETE
    49 
    50 config LIBC_V_snapshot
    51     bool
    52     prompt "latest snapshot (EXPERIMENTAL)"
    53     depends on EXPERIMENTAL
    54 
    55 config LIBC_V_specific_date
    56     bool
    57     prompt "<specific date> (EXPERIMENTAL)"
    58     depends on EXPERIMENTAL
    59 
    60 endchoice
    61 
    62 config LIBC_VERSION
    63     string
    64     prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
    65 # Don't remove next line
    66 # CT_INSERT_VERSION_STRING_BELOW
    67     default "0.9.30.1" if LIBC_V_0_9_30_1
    68     default "0.9.30" if LIBC_V_0_9_30
    69     default "0.9.29" if LIBC_V_0_9_29
    70     default "0.9.28.3" if LIBC_V_0_9_28_3
    71     default "0.9.28.2" if LIBC_V_0_9_28_2
    72     default "0.9.28.1" if LIBC_V_0_9_28_1
    73     default "0.9.28" if LIBC_V_0_9_28
    74     default "snapshot" if LIBC_V_snapshot
    75 
    76 config LIBC_UCLIBC_0_9_30_or_later
    77     bool
    78     default n
    79     select LIBC_UCLIBC_PARALLEL
    80 
    81 config LIBC_UCLIBC_PARALLEL
    82     bool
    83     default n
    84 
    85 choice
    86     bool
    87     prompt "uClibc verbosity:"
    88     default LIBC_UCLIBC_VERBOSITY_0
    89 
    90 config LIBC_UCLIBC_VERBOSITY_0
    91     bool
    92     prompt "Simplified"
    93     help
    94       Print simplified command lines.
    95 
    96 config LIBC_UCLIBC_VERBOSITY_1
    97     bool
    98     prompt "Full commands"
    99     help
   100       Print full command lines.
   101 
   102 endchoice
   103 
   104 config LIBC_UCLIBC_VERBOSITY
   105     string
   106     default ""      if LIBC_UCLIBC_VERBOSITY_0
   107     default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
   108 
   109 choice
   110     bool
   111     prompt "Debug level"
   112     default LIBC_UCLIBC_DEBUG_LEVEL_0
   113 
   114 config LIBC_UCLIBC_DEBUG_LEVEL_0
   115     bool
   116     prompt "none"
   117 
   118 config LIBC_UCLIBC_DEBUG_LEVEL_1
   119     bool
   120     prompt "minimal"
   121 
   122 config LIBC_UCLIBC_DEBUG_LEVEL_2
   123     bool
   124     prompt "all"
   125 
   126 endchoice
   127 
   128 config LIBC_UCLIBC_DEBUG_LEVEL
   129     int
   130     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
   131     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
   132     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
   133 
   134 config LIBC_UCLIBC_BUILD_CROSS_LDD
   135     bool
   136     prompt "Build cross-ldd"
   137     default y
   138     help
   139       Say 'y' here to build a cross-ldd to run in the host.
   140       
   141       Building a cross-ldd only works on ELF systems, that is,
   142       if you build under Cygwin, you *must* say 'n' here.
   143 
   144 config LIBC_UCLIBC_CONFIG_FILE
   145     string
   146     prompt "Configuration file"
   147     default ""
   148     help
   149       Path to the configuration file.
   150       
   151       You _must_ provide one (for now).
   152 
   153 config LIBC_UCLIBC_LOCALES
   154     bool
   155     prompt "Add support for locales"
   156     default n
   157     help
   158       Say y if you want uClibc to support localisation.
   159 
   160       Note that seems to be broken on recent uClibc releases.