config/tools/sstrip.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 17 23:06:02 2010 +0100 (2010-01-17)
changeset 1740 c57458bb354d
parent 1242 470541ef2b72
child 1844 4d6a56579d9d
permissions -rw-r--r--
configure: do not require hg when configuring in an hg clone

When configuring in an hg clone, we need hg to compute the version string.
It can happen that users do not have Mercurial (eg. if they got a snapshot
rather that they did a full clone). In this case, we can still run, of
course, so simply fill the version string with a sufficiently explicit
value, that does not require hg. The date is a good candidate.
     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