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>
yann@2165
     1
# newlib second-part options
yann@2165
     2
yann@2167
     3
config LIBC_NEWLIB_IO_C99FMT
yann@2167
     4
    bool
yann@2167
     5
    prompt "Enable IOs on C99 formats"
yann@2167
     6
    default n
yann@2167
     7
    help
yann@2167
     8
      Enable support for IOs on C99 formats.
yann@2167
     9
yann@2166
    10
config LIBC_NEWLIB_IO_LL
yann@2166
    11
    bool
yann@2166
    12
    prompt "Enable IOs on long long"
yann@2166
    13
    default n
yann@2166
    14
    help
yann@2166
    15
      Enable support for IOs on long long integers.
yann@2166
    16
yann@2165
    17
config LIBC_NEWLIB_IO_FLOAT
yann@2165
    18
    bool
yann@2165
    19
    prompt "Enable IOs on floats and doubles"
yann@2165
    20
    default n
yann@2165
    21
    help
yann@2165
    22
      Enable support for IOs on floating point
yann@2165
    23
      values (float and double).
yann@2165
    24
yann@2165
    25
config LIBC_NEWLIB_IO_LDBL
yann@2165
    26
    bool
yann@2165
    27
    prompt "Enable IOs on long doubles"
yann@2165
    28
    default n
yann@2165
    29
    depends on LIBC_NEWLIB_IO_FLOAT
yann@2165
    30
    help
yann@2165
    31
      Enable support for IOs on long doubles.