config/libc/uClibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Nov 01 17:16:34 2008 +0000 (2008-11-01)
changeset 1029 f1b5700819cc
parent 922 3f0456891349
child 1044 45d690b4e2c5
permissions -rw-r--r--
Enable uClibc parallel build for those versions supporting it.

/trunk/scripts/build/libc/uClibc.sh | 12 7 5 0 +++++++-----
/trunk/config/libc/uClibc.in | 9 9 0 0 +++++++++
2 files changed, 16 insertions(+), 5 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 # CT_INSERT_VERSION_ABOVE
    38 # Don't remove above line!
    39 
    40 config LIBC_V_snapshot
    41     bool
    42     prompt "latest snapshot (EXPERIMENTAL)"
    43     depends on EXPERIMENTAL
    44 
    45 config LIBC_V_specific_date
    46     bool
    47     prompt "<specific date> (EXPERIMENTAL)"
    48     depends on EXPERIMENTAL
    49 
    50 endchoice
    51 
    52 config LIBC_VERSION
    53     string
    54     prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
    55     default "snapshot" if LIBC_V_snapshot
    56     default "0.9.28" if LIBC_V_0_9_28
    57     default "0.9.28.1" if LIBC_V_0_9_28_1
    58     default "0.9.28.2" if LIBC_V_0_9_28_2
    59     default "0.9.28.3" if LIBC_V_0_9_28_3
    60     default "0.9.29" if LIBC_V_0_9_29
    61 # CT_INSERT_VERSION_STRING_ABOVE
    62 # Don't remove above line!
    63 
    64 config LIBC_UCLIBC_PARALLEL
    65     bool
    66     prompt "Build uClibc in //" if LIBC_V_snapshot || LIBC_V_specific_date
    67     default n
    68     help
    69       Build uClibc using parallel jobs.
    70       Some 'old' versions won't build in //, but it works starting with
    71       0.9.30 release candidates.
    72 
    73 choice
    74     bool
    75     prompt "uClibc verbosity:"
    76     default LIBC_UCLIBC_VERBOSITY_0
    77 
    78 config LIBC_UCLIBC_VERBOSITY_0
    79     bool
    80     prompt "Simplified"
    81     help
    82       Print simplified command lines.
    83 
    84 config LIBC_UCLIBC_VERBOSITY_1
    85     bool
    86     prompt "Full commands"
    87     help
    88       Print full command lines.
    89 
    90 endchoice
    91 
    92 config LIBC_UCLIBC_VERBOSITY
    93     string
    94     default ""      if LIBC_UCLIBC_VERBOSITY_0
    95     default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
    96 
    97 choice
    98     bool
    99     prompt "Debug level"
   100     default LIBC_UCLIBC_DEBUG_LEVEL_0
   101 
   102 config LIBC_UCLIBC_DEBUG_LEVEL_0
   103     bool
   104     prompt "none"
   105 
   106 config LIBC_UCLIBC_DEBUG_LEVEL_1
   107     bool
   108     prompt "minimal"
   109 
   110 config LIBC_UCLIBC_DEBUG_LEVEL_2
   111     bool
   112     prompt "all"
   113 
   114 endchoice
   115 
   116 config LIBC_UCLIBC_DEBUG_LEVEL
   117     int
   118     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
   119     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
   120     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
   121 
   122 config LIBC_UCLIBC_CONFIG_FILE
   123     string
   124     prompt "Configuration file"
   125     default ""
   126     help
   127       Path to the configuration file.
   128       
   129       You _must_ provide one (for now).
   130 
   131 config LIBC_UCLIBC_LOCALES
   132     bool
   133     prompt "Add support for locales"
   134     default n
   135     help
   136       Say y if you want uClibc to support localisation.
   137 
   138       Note that seems to be broken on recent uClibc releases.