config/tools/sstrip.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jan 01 17:09:52 2010 +0100 (2010-01-01)
changeset 1673 ecb7fcc4edb0
parent 1242 470541ef2b72
child 1844 4d6a56579d9d
permissions -rw-r--r--
scripts/functions: fix downloading with aria2

In case the remote file does not exist (and probably for some
other reasons as well), aria2 nonetheless creates an empty file
(or not empty for some other reasons).

The solution is to delete the file whenever aria2 fails.
     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