config/libc/newlib.in
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Fri Jun 03 17:21:56 2011 +0200 (2011-06-03)
changeset 2503 b5541f296b92
parent 2215 bd86485d966a
child 2535 e9e8cafaf412
permissions -rw-r--r--
kconfig: prepend CT-NG's version tag to PKGVERSION

"crosstool-NG-${CT_VERSION}" is currently the default for TOOLCHAIN_PKGVERSION,
and this options is passed as is to --with-pkgversion.

This patch prepends "crosstool-NG ${CT_VERSION}" to TOOLCHAIN_PKGVERSION before
passing it to --with-pkgversion.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
     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_18_0
    21     bool
    22     prompt "1.18.0 (EXPERIMENTAL)"
    23     depends on EXPERIMENTAL
    24 
    25 config LIBC_NEWLIB_V_1_17_0
    26     bool
    27     prompt "1.17.0"
    28 
    29 config LIBC_NEWLIB_CVS
    30     bool
    31     prompt "Use CVS snapshot"
    32     help
    33       The newlib "team" rolls new releases about once a year (december).
    34       This is quite a long time between releases, in case code was fixed.
    35       
    36       Saying 'Y' here will allow you to use the bleeding-edge code from
    37       the CVS repository. This may or may not fix your issues, may or may
    38       not build, may or may not crash your machine, may or may not withdraw
    39       money from your bank account, may or may not date your girlfriend,
    40       may or may not resurect Elvis... :-)
    41       
    42       In a word: use the CVS snapshot at your own risk! 
    43 
    44 endchoice
    45 
    46 config LIBC_VERSION
    47     string
    48     prompt "use CVS tag" if LIBC_NEWLIB_CVS
    49 # Don't remove next line
    50 # CT_INSERT_VERSION_STRING_BELOW
    51     default "1.18.0" if LIBC_NEWLIB_V_1_18_0
    52     default "1.17.0" if LIBC_NEWLIB_V_1_17_0
    53     help
    54       Enter the tag you want to use.
    55       Leave empty to use the 'head' of the repository.
    56 
    57 comment "Architecture specific options"
    58 
    59 config ATMEL_AVR32_HEADERS
    60     bool
    61     prompt "Install Atmel AVR32 headers"
    62     depends on ARCH_avr32
    63     default y
    64     help
    65       Install Atmel AVR32 headers for native AVR32 development. Most
    66       AVR32 MCU devices are supported.
    67       
    68       If you do native AVR32 development you want to say 'Y' here.