config/libc/newlib.in
author David Holsgrove <david.holsgrove@xilinx.com>
Thu Oct 11 14:39:45 2012 +1000 (2012-10-11)
changeset 3094 07a87075fa2d
parent 3047 6d88d6558b7a
child 3095 ee3bc44bf7f9
permissions -rw-r--r--
libc/newlib: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d02252752d4dc5e68ae3.1349931202@localhost.localdomain>
PatchWork-Id: 190795
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
david@3094
    55
config LIBC_NEWLIB_CUSTOM
david@3094
    56
    bool
david@3094
    57
    prompt "Custom newlib"
david@3094
    58
    depends on EXPERIMENTAL
david@3094
    59
mgl@1371
    60
endchoice
mgl@1371
    61
david@3094
    62
if LIBC_NEWLIB_CUSTOM
david@3094
    63
david@3094
    64
config LIBC_NEWLIB_CUSTOM_LOCATION
david@3094
    65
    string
david@3094
    66
    prompt "Full path to custom newlib source"
david@3094
    67
    default ""
david@3094
    68
    help
david@3094
    69
      Enter the path to the directory (or tarball) of your source for newlib,
david@3094
    70
      or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/newlib
david@3094
    71
david@3094
    72
endif # LIBC_NEWLIB_CUSTOM
david@3094
    73
mgl@1371
    74
config LIBC_VERSION
mgl@1371
    75
    string
yann@1593
    76
    prompt "use CVS tag" if LIBC_NEWLIB_CVS
yann@1535
    77
# Don't remove next line
yann@1535
    78
# CT_INSERT_VERSION_STRING_BELOW
austinpmorton@3047
    79
    default "1.20.0" if LIBC_NEWLIB_V_1_20_0
yann@2539
    80
    default "1.19.0" if LIBC_NEWLIB_V_1_19_0
yann@1724
    81
    default "1.18.0" if LIBC_NEWLIB_V_1_18_0
yann@1590
    82
    default "1.17.0" if LIBC_NEWLIB_V_1_17_0
david@3094
    83
    default "custom" if LIBC_NEWLIB_CUSTOM
yann@1593
    84
    help
yann@1593
    85
      Enter the tag you want to use.
yann@1593
    86
      Leave empty to use the 'head' of the repository.
yann@1593
    87
yann@1593
    88
comment "Architecture specific options"
mgl@1371
    89
mgl@1373
    90
config ATMEL_AVR32_HEADERS
mgl@1373
    91
    bool
mgl@1373
    92
    prompt "Install Atmel AVR32 headers"
yann@1591
    93
    depends on ARCH_avr32
mgl@1373
    94
    default y
mgl@1373
    95
    help
mgl@1373
    96
      Install Atmel AVR32 headers for native AVR32 development. Most
mgl@1373
    97
      AVR32 MCU devices are supported.
mgl@1373
    98
      
mgl@1373
    99
      If you do native AVR32 development you want to say 'Y' here.