config/libc/newlib.in.2
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jan 28 22:06:49 2011 +0100 (2011-01-28)
changeset 2284 7ede374110e5
parent 2166 c1fe0639585a
child 2484 d1a8c2ae7946
permissions -rw-r--r--
config: add an option not to remove the destination directory

In certain circumstances, removing the destination/installation directory
is a bad idea. For example, when the build environment is already taking
care of sanitising the build tree, and pre-installs stuff in there, it is
a very bad idea to remove the destination directory.

This happens now in buildroot, as the crostool-NG backend now installs the
toolchain in the common host-tools directory, and pre-install there a few
host-utilities (eg. host-automake and host-gawk).

Provide a config knob to turn on/off the removal of the destination
directory, defaulting to 'y' (previous behavior), and forced to 'n' when
used as a backend.

Reported-by: Peter Korsgaard <jacmet@sunsite.dk>
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.