config/libc/uClibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu May 07 18:56:31 2009 +0000 (2009-05-07)
changeset 1326 56a811a04414
parent 1269 17e37102a037
child 1534 d4ddf19a1968
permissions -rw-r--r--
Fix installing uClibc headers for versions prior to 0.9.30.
Fix a comment about installing uClibc.
Automatically enable // build for uClibc versions that can be built in //.

-------- diffstat follows --------
/trunk/scripts/build/libc/uClibc.sh | 32 23 9 0 +++++++++++++++++++++++---------
/trunk/config/libc/uClibc.in | 12 7 5 0 +++++++-----
2 files changed, 30 insertions(+), 14 deletions(-)
     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 
    15 config LIBC_V_0_9_28
    16     bool
    17     prompt "0.9.28 (OBSOLETE)"
    18     depends on OBSOLETE
    19 
    20 config LIBC_V_0_9_28_1
    21     bool
    22     prompt "0.9.28.1 (OBSOLETE)"
    23     depends on OBSOLETE
    24 
    25 config LIBC_V_0_9_28_2
    26     bool
    27     prompt "0.9.28.2 (OBSOLETE)"
    28     depends on OBSOLETE
    29 
    30 config LIBC_V_0_9_28_3
    31     bool
    32     prompt "0.9.28.3"
    33 
    34 config LIBC_V_0_9_29
    35     bool
    36     prompt "0.9.29"
    37 
    38 config LIBC_V_0_9_30
    39     bool
    40     prompt "0.9.30"
    41     select LIBC_UCLIBC_0_9_30_or_later
    42 
    43 config LIBC_V_0_9_30_1
    44     bool
    45     prompt "0.9.30.1"
    46     select LIBC_UCLIBC_0_9_30_or_later
    47 
    48 # CT_INSERT_VERSION_ABOVE
    49 # Don't remove above line!
    50 
    51 config LIBC_V_snapshot
    52     bool
    53     prompt "latest snapshot (EXPERIMENTAL)"
    54     depends on EXPERIMENTAL
    55 
    56 config LIBC_V_specific_date
    57     bool
    58     prompt "<specific date> (EXPERIMENTAL)"
    59     depends on EXPERIMENTAL
    60 
    61 endchoice
    62 
    63 config LIBC_VERSION
    64     string
    65     prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
    66     default "snapshot" if LIBC_V_snapshot
    67     default "0.9.28" if LIBC_V_0_9_28
    68     default "0.9.28.1" if LIBC_V_0_9_28_1
    69     default "0.9.28.2" if LIBC_V_0_9_28_2
    70     default "0.9.28.3" if LIBC_V_0_9_28_3
    71     default "0.9.29" if LIBC_V_0_9_29
    72     default "0.9.30" if LIBC_V_0_9_30
    73     default "0.9.30.1" if LIBC_V_0_9_30_1
    74 # CT_INSERT_VERSION_STRING_ABOVE
    75 # Don't remove above line!
    76 
    77 config LIBC_UCLIBC_0_9_30_or_later
    78     bool
    79     default n
    80     select LIBC_UCLIBC_PARALLEL
    81 
    82 config LIBC_UCLIBC_PARALLEL
    83     bool
    84     default n
    85 
    86 choice
    87     bool
    88     prompt "uClibc verbosity:"
    89     default LIBC_UCLIBC_VERBOSITY_0
    90 
    91 config LIBC_UCLIBC_VERBOSITY_0
    92     bool
    93     prompt "Simplified"
    94     help
    95       Print simplified command lines.
    96 
    97 config LIBC_UCLIBC_VERBOSITY_1
    98     bool
    99     prompt "Full commands"
   100     help
   101       Print full command lines.
   102 
   103 endchoice
   104 
   105 config LIBC_UCLIBC_VERBOSITY
   106     string
   107     default ""      if LIBC_UCLIBC_VERBOSITY_0
   108     default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
   109 
   110 choice
   111     bool
   112     prompt "Debug level"
   113     default LIBC_UCLIBC_DEBUG_LEVEL_0
   114 
   115 config LIBC_UCLIBC_DEBUG_LEVEL_0
   116     bool
   117     prompt "none"
   118 
   119 config LIBC_UCLIBC_DEBUG_LEVEL_1
   120     bool
   121     prompt "minimal"
   122 
   123 config LIBC_UCLIBC_DEBUG_LEVEL_2
   124     bool
   125     prompt "all"
   126 
   127 endchoice
   128 
   129 config LIBC_UCLIBC_DEBUG_LEVEL
   130     int
   131     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
   132     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
   133     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
   134 
   135 config LIBC_UCLIBC_BUILD_CROSS_LDD
   136     bool
   137     prompt "Build cross-ldd"
   138     default y
   139     help
   140       Say 'y' here to build a cross-ldd to run in the host.
   141       
   142       Building a cross-ldd only works on ELF systems, that is,
   143       if you build under Cygwin, you *must* say 'n' here.
   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     prompt "Add support for locales"
   157     default n
   158     help
   159       Say y if you want uClibc to support localisation.
   160 
   161       Note that seems to be broken on recent uClibc releases.