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