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