config/libc/newlib.in
author Anthony Foiani <anthony.foiani@gmail.com>
Thu May 19 23:05:32 2011 +0200 (2011-05-19)
branch1.11
changeset 2463 7f87237857a0
parent 1780 9c03c1a508d8
child 2444 896cb0d36c1a
permissions -rw-r--r--
complibs/ppl: update GMP location configuration argument for PPL v0.11 and later

'configure' for PPL 0.11 (and later) needs "--with-gmp-prefix" to
provide the location of the GMP toolkit; the previous switches were
"--with-libgmp-prefix" and "--with-libgmpxx-prefix".

The upstream log message is:

commit 08dfb6fea094f8c5a533575a3ea2095edce99a6d
Author: Roberto Bagnara <bagnara@cs.unipr.it>
Date: Sun Jul 12 21:39:46 2009 +0200

New configure option --with-gmp-prefix supersedes the (now removed)
options --with-libgmp-prefix and --with-libgmpxx-prefix.

Link: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=08dfb6fea094f8c5a533575a3ea2095edce99a6d

Since PPL's 'configure' ignores unknown switches, we use all three so we
don't have to conditionalize the ppl.sh build script itself.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
(transplanted from 4f0c4fb572e2862c24b28e8d27ce7e9cb9adba65)
     1 # newlib options
     2 # depends on BARE_METAL
     3 
     4 config LIBC_newlib
     5     select LIBC_SUPPORT_THREADS_NONE
     6     help
     7       Newlib is a C library intended for use on embedded systems. It is a
     8       conglomeration of several library parts, all under free software
     9       licenses that make them easily usable on embedded products. Newlib
    10       is only available in source form. It can be compiled for a wide
    11       array of processors, and will usually work on any architecture with
    12       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.