config/libc/newlib.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 17 23:06:02 2010 +0100 (2010-01-17)
changeset 1740 c57458bb354d
parent 1593 66b2463743af
child 1780 9c03c1a508d8
permissions -rw-r--r--
configure: do not require hg when configuring in an hg clone

When configuring in an hg clone, we need hg to compute the version string.
It can happen that users do not have Mercurial (eg. if they got a snapshot
rather that they did a full clone). In this case, we can still run, of
course, so simply fill the version string with a sufficiently explicit
value, that does not require hg. The date is a good candidate.
     1 # newlib options
     2 # depends on EXPERIMENTAL && BARE_METAL
     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 # Don't remove next line
    17 # CT_INSERT_VERSION_BELOW
    18 
    19 config LIBC_NEWLIB_V_1_18_0
    20     bool
    21     prompt "1.18.0 (EXPERIMENTAL)"
    22     depends on EXPERIMENTAL
    23 
    24 config LIBC_NEWLIB_V_1_17_0
    25     bool
    26     prompt "1.17.0"
    27 
    28 config LIBC_NEWLIB_CVS
    29     bool
    30     prompt "Use CVS snapshot"
    31     help
    32       The newlib "team" rolls new releases about once a year (december).
    33       This is quite a long time between releases, in case code was fixed.
    34       
    35       Saying 'Y' here will allow you to use the bleeding-edge code from
    36       the CVS repository. This may or may not fix your issues, may or may
    37       not build, may or may not crash your machine, may or may not withdraw
    38       money from your bank account, may or may not date your girlfriend,
    39       may or may not resurect Elvis... :-)
    40       
    41       In a word: use the CVS snapshot at your own risk! 
    42 
    43 endchoice
    44 
    45 config LIBC_VERSION
    46     string
    47     prompt "use CVS tag" if LIBC_NEWLIB_CVS
    48 # Don't remove next line
    49 # CT_INSERT_VERSION_STRING_BELOW
    50     default "1.18.0" if LIBC_NEWLIB_V_1_18_0
    51     default "1.17.0" if LIBC_NEWLIB_V_1_17_0
    52     help
    53       Enter the tag you want to use.
    54       Leave empty to use the 'head' of the repository.
    55 
    56 comment "Architecture specific options"
    57 
    58 config ATMEL_AVR32_HEADERS
    59     bool
    60     prompt "Install Atmel AVR32 headers"
    61     depends on ARCH_avr32
    62     default y
    63     help
    64       Install Atmel AVR32 headers for native AVR32 development. Most
    65       AVR32 MCU devices are supported.
    66       
    67       If you do native AVR32 development you want to say 'Y' here.