config/libc/newlib.in
author Austin Morton <austinpmorton@gmail.com>
Sun Sep 16 14:12:22 2012 -0400 (2012-09-16)
changeset 3047 6d88d6558b7a
parent 2539 e32f4809a267
child 3094 07a87075fa2d
permissions -rw-r--r--
libc/newlib: add newlib 1.20.0 support

Signed-off-by: Austin Morton <austinpmorton@gmail.com>
mgl@1371
     1
# newlib options
mgl@1371
     2
yann@2444
     3
## depends on BARE_METAL
yann@2444
     4
##
yann@2444
     5
## select LIBC_SUPPORT_THREADS_NONE
yann@2444
     6
##
yann@2444
     7
## help Newlib is a C library intended for use on embedded systems. It is a
yann@2444
     8
## help conglomeration of several library parts, all under free software
yann@2444
     9
## help licenses that make them easily usable on embedded products. Newlib
yann@2444
    10
## help is only available in source form. It can be compiled for a wide
yann@2444
    11
## help array of processors, and will usually work on any architecture with
yann@2444
    12
## help the addition of a few low-level routines.
mgl@1371
    13
mgl@1371
    14
choice
mgl@1371
    15
    bool
mgl@1371
    16
    prompt "newlib version"
yann@1535
    17
# Don't remove next line
yann@1535
    18
# CT_INSERT_VERSION_BELOW
mgl@1371
    19
austinpmorton@3047
    20
config LIBC_NEWLIB_V_1_20_0
austinpmorton@3047
    21
    bool
austinpmorton@3047
    22
    prompt "1.20.0 (EXPERIMENTAL)"
austinpmorton@3047
    23
    depends on EXPERIMENTAL
austinpmorton@3047
    24
yann@2539
    25
config LIBC_NEWLIB_V_1_19_0
yann@2539
    26
    bool
yann@2539
    27
    prompt "1.19.0 (EXPERIMENTAL)"
yann@2539
    28
    depends on EXPERIMENTAL
yann@2539
    29
yann@1724
    30
config LIBC_NEWLIB_V_1_18_0
yann@1724
    31
    bool
yann@1724
    32
    prompt "1.18.0 (EXPERIMENTAL)"
yann@1724
    33
    depends on EXPERIMENTAL
yann@1724
    34
yann@1590
    35
config LIBC_NEWLIB_V_1_17_0
mgl@1371
    36
    bool
mgl@1371
    37
    prompt "1.17.0"
mgl@1371
    38
yann@1593
    39
config LIBC_NEWLIB_CVS
yann@1593
    40
    bool
yann@1593
    41
    prompt "Use CVS snapshot"
yann@2535
    42
    depends on CONFIGURE_has_cvs
yann@1593
    43
    help
yann@1593
    44
      The newlib "team" rolls new releases about once a year (december).
yann@1593
    45
      This is quite a long time between releases, in case code was fixed.
yann@1593
    46
      
yann@1593
    47
      Saying 'Y' here will allow you to use the bleeding-edge code from
yann@1593
    48
      the CVS repository. This may or may not fix your issues, may or may
yann@1593
    49
      not build, may or may not crash your machine, may or may not withdraw
yann@1593
    50
      money from your bank account, may or may not date your girlfriend,
yann@1593
    51
      may or may not resurect Elvis... :-)
yann@1593
    52
      
yann@1593
    53
      In a word: use the CVS snapshot at your own risk! 
yann@1593
    54
mgl@1371
    55
endchoice
mgl@1371
    56
mgl@1371
    57
config LIBC_VERSION
mgl@1371
    58
    string
yann@1593
    59
    prompt "use CVS tag" if LIBC_NEWLIB_CVS
yann@1535
    60
# Don't remove next line
yann@1535
    61
# CT_INSERT_VERSION_STRING_BELOW
austinpmorton@3047
    62
    default "1.20.0" if LIBC_NEWLIB_V_1_20_0
yann@2539
    63
    default "1.19.0" if LIBC_NEWLIB_V_1_19_0
yann@1724
    64
    default "1.18.0" if LIBC_NEWLIB_V_1_18_0
yann@1590
    65
    default "1.17.0" if LIBC_NEWLIB_V_1_17_0
yann@1593
    66
    help
yann@1593
    67
      Enter the tag you want to use.
yann@1593
    68
      Leave empty to use the 'head' of the repository.
yann@1593
    69
yann@1593
    70
comment "Architecture specific options"
mgl@1371
    71
mgl@1373
    72
config ATMEL_AVR32_HEADERS
mgl@1373
    73
    bool
mgl@1373
    74
    prompt "Install Atmel AVR32 headers"
yann@1591
    75
    depends on ARCH_avr32
mgl@1373
    76
    default y
mgl@1373
    77
    help
mgl@1373
    78
      Install Atmel AVR32 headers for native AVR32 development. Most
mgl@1373
    79
      AVR32 MCU devices are supported.
mgl@1373
    80
      
mgl@1373
    81
      If you do native AVR32 development you want to say 'Y' here.