config/debug/strace.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Mar 06 16:05:20 2010 +0100 (2010-03-06)
changeset 1820 55adc838cd68
parent 1615 50b25816f5bb
child 1844 4d6a56579d9d
permissions -rw-r--r--
debug/ltrace: fix building on x86

ltrace uses i386 and x86_64, whereas crosstool-NG use x86 for both cases.
Fix that by detecting what bitness we're building for, and pass appropriate
i386 or x86_64 to ltrace's configure.
     1 # strace
     2 
     3 config DEBUG_strace
     4 
     5 choice
     6     bool
     7     prompt "strace version"
     8 # Don't remove next line
     9 # CT_INSERT_VERSION_BELOW
    10 
    11 config STRACE_V_4_5_19
    12     bool
    13     prompt "4.5.19"
    14 
    15 config STRACE_V_4_5_18
    16     bool
    17     prompt "4.5.18"
    18 
    19 config STRACE_V_4_5_17
    20     bool
    21     prompt "4.5.17 (OBSOLETE)"
    22     depends on OBSOLETE
    23 
    24 config STRACE_V_4_5_16
    25     bool
    26     prompt "4.5.16 (OBSOLETE)"
    27     depends on OBSOLETE
    28 
    29 config STRACE_V_4_5_15
    30     bool
    31     prompt "4.5.15 (OBSOLETE)"
    32     depends on OBSOLETE
    33 
    34 endchoice
    35 
    36 config STRACE_VERSION
    37     string
    38 # Don't remove next line
    39 # CT_INSERT_VERSION_STRING_BELOW
    40     default "4.5.19" if STRACE_V_4_5_19
    41     default "4.5.18" if STRACE_V_4_5_18
    42     default "4.5.17" if STRACE_V_4_5_17
    43     default "4.5.16" if STRACE_V_4_5_16
    44     default "4.5.15" if STRACE_V_4_5_15