config/libc/uClibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Feb 11 10:40:26 2009 +0000 (2009-02-11)
changeset 1209 1fc98c1419a7
parent 1044 45d690b4e2c5
child 1224 959134130e3e
permissions -rw-r--r--
On some hosts (eg. Cygwin), it's not possible to build the uClibc hostutils. Offer an option to enable/disable the uClibc hostutils build.

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