config/libc/uClibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Oct 10 14:30:44 2008 +0000 (2008-10-10)
changeset 916 68af6b83ff7e
parent 852 c17bb66e2aa5
child 922 3f0456891349
permissions -rw-r--r--
Simplify the Tools and Debug facilities menu entries:
- each config file no longer have to define their own 'menuconfig foo - if FOO - endif' gym
- each build script no longer has to say wether they are enabled
- generation of the 'menuconfig' entries for the Tools and Debug facilities now uses the same code
Some re-ordering of the code to be consistent with the steps ordering (tools, then debug).

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