config/debug/dmalloc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Mar 05 09:19:56 2010 +0100 (2010-03-05)
changeset 1842 2535545dd450
parent 1535 073d351bdcd3
child 1844 4d6a56579d9d
permissions -rw-r--r--
config: prepare for build-system backend

When acting as a backend for a build-system, we should not build
any application that runs on the target, that is:
- no native gdb
- no companion libraries
- no binutils libraries
- no debug tools (save for gdbserver)
- ...

Here, we simply prepare the (hidden) config option that will detect
that we are acting as a back-end.

Update doc accordingly.
yann@103
     1
# dmalloc debug facility
yann@103
     2
yann@916
     3
config DEBUG_dmalloc
yann@103
     4
    bool
yann@103
     5
yann@103
     6
choice
yann@103
     7
    bool
yann@103
     8
    prompt "dmalloc version"
yann@1535
     9
# Don't remove next line
yann@1535
    10
# CT_INSERT_VERSION_BELOW
yann@103
    11
yann@1534
    12
config DMALLOC_V_5_5_2
yann@1534
    13
    bool
yann@1534
    14
    prompt "5.5.2"
yann@1534
    15
yann@103
    16
endchoice
yann@103
    17
yann@103
    18
config DMALLOC_VERSION
yann@103
    19
    string
yann@1535
    20
# Don't remove next line
yann@1535
    21
# CT_INSERT_VERSION_STRING_BELOW
yann@1534
    22
    default "5.5.2" if DMALLOC_V_5_5_2