config/libc/newlib.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 03 18:49:23 2009 +0200 (2009-10-03)
changeset 1560 79a609170a83
parent 1373 1f3e9f7ada71
child 1535 073d351bdcd3
permissions -rw-r--r--
configure: split has_or_abort in two: one to check, one to abort

Split the has_or_abort function in two:
- one that checks if the tool if found,
- one that calls the above check, and aborts if not found

The rational behind this is to be able to check for a tool
and if not found, fallback to using our bundled version,
should the need arise (and I get time).
     1 # newlib options
     2 # depends on EXPERIMENTAL
     3 
     4 config LIBC_newlib
     5     help
     6     Newlib is a C library intended for use on embedded systems. It is a 
     7     conglomeration of several library parts, all under free software 
     8     licenses that make them easily usable on embedded products. Newlib 
     9     is only available in source form. It can be compiled for a wide 
    10     array of processors, and will usually work on any architecture with
    11     the addition of a few low-level routines. 
    12 
    13 choice
    14     bool
    15     prompt "newlib version"
    16 
    17 config NEWLIB_V_1_17_0
    18     bool
    19     prompt "1.17.0"
    20 
    21 # CT_INSERT_VERSION_ABOVE
    22 # Don't remove above line!
    23 
    24 endchoice
    25 
    26 config LIBC_VERSION
    27     string
    28     default "1.17.0" if NEWLIB_V_1_17_0
    29 
    30 # CT_INSERT_VERSION_STRING_ABOVE
    31 # Don't remove above line!
    32 
    33 config ATMEL_AVR32_HEADERS
    34     bool
    35     prompt "Install Atmel AVR32 headers"
    36     default y
    37     help
    38       Install Atmel AVR32 headers for native AVR32 development. Most
    39       AVR32 MCU devices are supported.
    40       
    41       If you do native AVR32 development you want to say 'Y' here.
    42