config/libc/uClibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Sep 23 14:48:10 2008 +0000 (2008-09-23)
changeset 872 fd4bf138f08f
parent 852 c17bb66e2aa5
child 922 3f0456891349
permissions -rw-r--r--
Bart De VOS pointed out that removing absolute paths from the libc linker scripts is plainly wrong.
It dates from dawn ages of the original crosstool code, and is not well explained. At that time, binutils might not understand the sysroot stuff, and it was necessary to remove absolute paths in that case.

/trunk/scripts/build/libc/glibc.sh | 14 2 12 0 ++------------
1 file changed, 2 insertions(+), 12 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.