config/debug/dmalloc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 11 23:43:52 2014 +0200 (2014-05-11)
changeset 3320 78af1c99bc6d
parent 1844 4d6a56579d9d
permissions -rw-r--r--
scripts/functions: add target_endian_le and target_endian_be

We currently define target_endian_el and target_endian_eb to be the
tuple extension depending on endianness, defined to be respectively
'el' or 'eb' according to the endianness.

Some architecture do not use 'el' or 'eb', but use 'le' or 'be'.

Provide that as well, as two new variables: target_endian_le and
target_endian_be.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Cody P Schafer <dev@codyps.com>
yann@103
     1
# dmalloc debug facility
yann@103
     2
yann@2444
     3
## depends on ! BACKEND
yann@2444
     4
##
yann@2444
     5
## help dmalloc helps tracking memory allocation mis-usage
yann@2444
     6
## help such as double-free, use-after-free...
yann@103
     7
yann@103
     8
choice
yann@103
     9
    bool
yann@103
    10
    prompt "dmalloc version"
yann@1535
    11
# Don't remove next line
yann@1535
    12
# CT_INSERT_VERSION_BELOW
yann@103
    13
yann@1534
    14
config DMALLOC_V_5_5_2
yann@1534
    15
    bool
yann@1534
    16
    prompt "5.5.2"
yann@1534
    17
yann@103
    18
endchoice
yann@103
    19
yann@103
    20
config DMALLOC_VERSION
yann@103
    21
    string
yann@1535
    22
# Don't remove next line
yann@1535
    23
# CT_INSERT_VERSION_STRING_BELOW
yann@1534
    24
    default "5.5.2" if DMALLOC_V_5_5_2