config/libc/mingw.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
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 # Part-2 of mingw C library options: development libraries
     2 
     3 config MINGW_DIRECTX
     4     bool
     5     prompt "Include DirectX development files"
     6     default n
     7 
     8 config MINGW_OPENGL
     9     bool
    10     prompt "Include OpenGL development files"
    11     default n
    12 
    13 config MINGW_PDCURSES
    14     bool
    15     prompt "Include PDCurses (NCurses library) development files"
    16     default n
    17 
    18 choice
    19     bool
    20     prompt "PDCurses library version"
    21     depends on MINGW_PDCURSES
    22 
    23 config MINGW_PDCURSES_V_3_4
    24     bool
    25     prompt "3.4"
    26 
    27 # CT_INSERT_VERSION_ABOVE
    28 # Don't remove above line!
    29 
    30 config MINGW_PDCURSES_V_select
    31     bool
    32     prompt "Other version"
    33 
    34 endchoice
    35 
    36 config MINGW_PDCURSES_VERSION
    37     string
    38     prompt "PDCurses library version" if MINGW_PDCURSES_V_select
    39     default "3.4" if MINGW_PDCURSES_V_3_4
    40 # CT_INSERT_VERSION_STRING_ABOVE
    41 # Don't remove above line!
    42     help
    43       Enter the version number of the PDCurses library to use
    44 
    45 config MINGW_GNURX
    46     bool
    47     prompt "Include GnuRX (regex library) development files"
    48     default n
    49 
    50 choice
    51     bool
    52     prompt "GnuRX library version"
    53     depends on MINGW_GNURX
    54 
    55 config MINGW_GNURX_V_2_5_1
    56     bool
    57     prompt "2.5.1"
    58 
    59 # CT_INSERT_VERSION_ABOVE
    60 # Don't remove above line!
    61 
    62 config MINGW_GNURX_V_select
    63     bool
    64     prompt "Other version"
    65 
    66 endchoice
    67 
    68 config MINGW_GNURX_VERSION
    69     string
    70     prompt "GnuRX library version" if MINGW_GNURX_V_select
    71     default "2.5.1" if MINGW_GNURX_V_2_5_1
    72 # CT_INSERT_VERSION_STRING_ABOVE
    73 # Don't remove above line!
    74     help
    75       Enter the version number of the Regex library to use
    76