config/debug/duma.in
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 1615 50b25816f5bb
child 2444 896cb0d36c1a
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@236
     1
# D.U.M.A. - Detect Unintended Memory Access - Memory checker
yann@1844
     2
# depends on ! BACKEND
yann@236
     3
yann@916
     4
config DEBUG_duma
yann@236
     5
    help
yann@236
     6
      D.U.M.A. - Detect Unintended Memory Access
yann@236
     7
      A memory bound checker, with additional features.
yann@236
     8
      Formerly known as Electric Fence.
yann@236
     9
yann@236
    10
config DUMA_A
yann@236
    11
    bool
yann@236
    12
    prompt "Build a static library"
yann@236
    13
    default y
yann@236
    14
yann@236
    15
config DUMA_SO
yann@236
    16
    bool
yann@236
    17
    prompt "Build a shared library"
yann@236
    18
    default y if SHARED_LIBS
yann@236
    19
    default n if ! SHARED_LIBS
yann@236
    20
yann@236
    21
choice
yann@236
    22
    bool
yann@236
    23
    prompt "D.U.M.A. version"
yann@1535
    24
# Don't remove next line
yann@1535
    25
# CT_INSERT_VERSION_BELOW
yann@236
    26
yann@1534
    27
config DUMA_V_2_5_15
yann@236
    28
    bool
yann@1534
    29
    prompt "2_5_15"
yann@1534
    30
yann@1534
    31
config DUMA_V_2_5_14
yann@1534
    32
    bool
yann@1615
    33
    prompt "2_5_14 (OBSOLETE)"
yann@1615
    34
    depends on OBSOLETE
yann@1534
    35
yann@1534
    36
config DUMA_V_2_5_12
yann@1534
    37
    bool
yann@1615
    38
    prompt "2_5_12 (OBSOLETE)"
yann@1615
    39
    depends on OBSOLETE
yann@236
    40
yann@369
    41
config DUMA_V_2_5_8
yann@279
    42
    bool
yann@1615
    43
    prompt "2_5_8 (OBSOLETE)"
yann@1615
    44
    depends on OBSOLETE
yann@279
    45
yann@1534
    46
config DUMA_V_2_5_1
yann@430
    47
    bool
yann@1615
    48
    prompt "2_5_1 (OBSOLETE)"
yann@1615
    49
    depends on OBSOLETE
yann@1436
    50
yann@236
    51
endchoice
yann@236
    52
yann@236
    53
config DUMA_VERSION
yann@236
    54
    string
yann@1535
    55
# Don't remove next line
yann@1535
    56
# CT_INSERT_VERSION_STRING_BELOW
yann@1534
    57
    default "2_5_15" if DUMA_V_2_5_15
yann@1534
    58
    default "2_5_14" if DUMA_V_2_5_14
yann@1534
    59
    default "2_5_12" if DUMA_V_2_5_12
yann@1534
    60
    default "2_5_8" if DUMA_V_2_5_8
yann@236
    61
    default "2_5_1" if DUMA_V_2_5_1