config/libc/uClibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 14 18:09:36 2008 +0000 (2008-09-14)
changeset 852 c17bb66e2aa5
parent 710 021546adce69
child 865 04cf91f13430
permissions -rw-r--r--
Enhance setting the minimum kernel version glibc will run against.
Ideally, eglibc should also benefit for that, but the current code does not set it.

/trunk/scripts/build/libc/glibc.sh | 38 33 5 0 +++++++++++++++---
/trunk/config/libc/glibc.in | 4 2 2 0 +-
/trunk/config/libc/uClibc.in | 2 2 0 0 +
/trunk/config/libc/eglibc.in | 4 2 2 0 +-
/trunk/config/libc/glibc-eglibc-common.in | 80 68 12 0 +++++++++++++++++++++++++++++++------
/trunk/config/libc.in | 69 38 31 0 ++++++++++++++++++--------------
6 files changed, 145 insertions(+), 52 deletions(-)
     1 # uClibc options
     2 
     3 comment "uClibc specific options"
     4 
     5 choice
     6     bool
     7     prompt "uClibc version"
     8 
     9 config LIBC_V_snapshot
    10     bool
    11     prompt "latest snapshot (EXPERIMENTAL)"
    12     depends on EXPERIMENTAL
    13 
    14 config LIBC_V_specific_date
    15     bool
    16     prompt "<specific date> (EXPERIMENTAL)"
    17     depends on EXPERIMENTAL
    18 
    19 config LIBC_V_0_9_28
    20     bool
    21     prompt "0.9.28 (OBSOLETE)"
    22     depends on OBSOLETE
    23 
    24 config LIBC_V_0_9_28_1
    25     bool
    26     prompt "0.9.28.1 (OBSOLETE)"
    27     depends on OBSOLETE
    28 
    29 config LIBC_V_0_9_28_2
    30     bool
    31     prompt "0.9.28.2 (OBSOLETE)"
    32     depends on OBSOLETE
    33 
    34 config LIBC_V_0_9_28_3
    35     bool
    36     prompt "0.9.28.3"
    37 
    38 config LIBC_V_0_9_29
    39     bool
    40     prompt "0.9.29"
    41 
    42 # CT_INSERT_VERSION_ABOVE
    43 # Don't remove above line!
    44 endchoice
    45 
    46 config LIBC_VERSION
    47     string
    48     prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
    49     default "snapshot" if LIBC_V_snapshot
    50     default "0.9.28" if LIBC_V_0_9_28
    51     default "0.9.28.1" if LIBC_V_0_9_28_1
    52     default "0.9.28.2" if LIBC_V_0_9_28_2
    53     default "0.9.28.3" if LIBC_V_0_9_28_3
    54     default "0.9.29" if LIBC_V_0_9_29
    55 # CT_INSERT_VERSION_STRING_ABOVE
    56 # Don't remove above line!
    57 
    58 choice
    59     bool
    60     prompt "uClibc verbosity:"
    61     default LIBC_UCLIBC_VERBOSITY_0
    62 
    63 config LIBC_UCLIBC_VERBOSITY_0
    64     bool
    65     prompt "Simplified"
    66     help
    67       Print simplified command lines.
    68 
    69 config LIBC_UCLIBC_VERBOSITY_1
    70     bool
    71     prompt "Full commands"
    72     help
    73       Print full command lines.
    74 
    75 endchoice
    76 
    77 config LIBC_UCLIBC_VERBOSITY
    78     string
    79     default ""      if LIBC_UCLIBC_VERBOSITY_0
    80     default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
    81 
    82 choice
    83     bool
    84     prompt "Debug level"
    85     default LIBC_UCLIBC_DEBUG_LEVEL_0
    86 
    87 config LIBC_UCLIBC_DEBUG_LEVEL_0
    88     bool
    89     prompt "none"
    90 
    91 config LIBC_UCLIBC_DEBUG_LEVEL_1
    92     bool
    93     prompt "minimal"
    94 
    95 config LIBC_UCLIBC_DEBUG_LEVEL_2
    96     bool
    97     prompt "all"
    98 
    99 endchoice
   100 
   101 config LIBC_UCLIBC_DEBUG_LEVEL
   102     int
   103     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
   104     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
   105     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
   106 
   107 config LIBC_UCLIBC_CONFIG_FILE
   108     string
   109     prompt "Configuration file"
   110     default ""
   111     help
   112       Path to the configuration file.
   113       
   114       You _must_ provide one (for now).
   115 
   116 config LIBC_UCLIBC_LOCALES
   117     bool
   118     prompt "Add support for locales"
   119     default n
   120     help
   121       Say y if you want uClibc to support localisation.
   122 
   123       Note that seems to be broken on recent uClibc releases.