config/libc/newlib.in.2
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 28 01:05:18 2011 +0200 (2011-03-28)
changeset 2362 0888065f8c4d
parent 2166 c1fe0639585a
child 2484 d1a8c2ae7946
permissions -rw-r--r--
cc/gcc: cleanup the _or_later logic

So far, we've had a version always select appropriate _or_later option,
which in turn would select all previous _or_later options.

Because the dependencies on companion libs were cumulative, that was
working OK. But the upcoming 4.6 will no longer depend on libelf, so
we can't keep the cumulative scheme we've been using so far.

Have each release family select the corresponding dependencies, instead
of relying on selecting previous _or_later.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # newlib second-part options
     2 
     3 config LIBC_NEWLIB_IO_C99FMT
     4     bool
     5     prompt "Enable IOs on C99 formats"
     6     default n
     7     help
     8       Enable support for IOs on C99 formats.
     9 
    10 config LIBC_NEWLIB_IO_LL
    11     bool
    12     prompt "Enable IOs on long long"
    13     default n
    14     help
    15       Enable support for IOs on long long integers.
    16 
    17 config LIBC_NEWLIB_IO_FLOAT
    18     bool
    19     prompt "Enable IOs on floats and doubles"
    20     default n
    21     help
    22       Enable support for IOs on floating point
    23       values (float and double).
    24 
    25 config LIBC_NEWLIB_IO_LDBL
    26     bool
    27     prompt "Enable IOs on long doubles"
    28     default n
    29     depends on LIBC_NEWLIB_IO_FLOAT
    30     help
    31       Enable support for IOs on long doubles.