config/libc/uClibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 21 22:00:52 2008 +0000 (2008-05-21)
changeset 527 4ac12179ef23
parent 500 a8b11d75e253
child 710 021546adce69
permissions -rw-r--r--
Introduce target-specific LDFLAGS, the same way we have CFLAGS for the target.
It seems to be helping gcc somewhat into telling the correct endianness to ld that sticks with little endian even when the target is big (eg armeb-unknown-linux-uclibcgnueabi).
There's still work to do, especially finish the gcc part that is not in this commit.

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