config/tools/sstrip.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Mar 06 16:05:20 2010 +0100 (2010-03-06)
branch1.6
changeset 1825 019368610072
parent 1242 470541ef2b72
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.
(transplanted from 55adc838cd68d3692e5eeeb38afb3d619b8b0c1a)
     1 # Configuration file for sstrip tool facility
     2 
     3 config TOOL_sstrip
     4     help
     5       The sstrip utility, to maximise the striping of ELF binaries
     6       (executables and libraries).
     7 
     8 choice
     9     bool
    10     prompt "Use sstrip from:"
    11 
    12 config SSTRIP_BUILDROOT
    13     bool
    14     prompt "buildroot"
    15     help
    16       Buildroot version, forked off the original from ELFkickers.  This one
    17       is somewhat maintained by the buildroot guys.   
    18       Supports big-endian systems.
    19 
    20 config SSTRIP_ELFKICKERS
    21     bool
    22     prompt "ELFkickers (OBSOLETE)"
    23     depends on OBSOLETE
    24     help
    25       The original, ageing version, of sstrip from ELFkickers.
    26       Fully functional, but not maintained anymore.
    27 
    28 endchoice
    29 
    30 config SSTRIP_FROM
    31     string
    32     default "ELFkickers"    if SSTRIP_ELFKICKERS
    33     default "buildroot"     if SSTRIP_BUILDROOT
    34 
    35 if SSTRIP_ELFKICKERS
    36 
    37 config SSTRIP_ELFKICKERS_VERSION
    38     string
    39     default "2.0a"
    40 
    41 endif