config/tools/libelf.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 1562 fdf936326ccd
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 # libelf config file
     2 
     3 config TOOL_libelf
     4     help
     5       libelf lets you read, modify or create ELF files in an
     6       architecture-independent way.
     7 
     8 choice
     9     bool
    10     prompt "libelf version"
    11 # Don't remove next line
    12 # CT_INSERT_VERSION_BELOW
    13 
    14 config LIBELF_V_0_8_12
    15     bool
    16     prompt "0.8.12"
    17 
    18 config LIBELF_V_0_8_11
    19     bool
    20     prompt "0.8.11"
    21 
    22 config LIBELF_V_0_8_10
    23     bool
    24     prompt "0.8.10 (OBSOLETE)"
    25     depends on OBSOLETE
    26 
    27 endchoice
    28 
    29 config LIBELF_VERSION
    30     string
    31 # Don't remove next line
    32 # CT_INSERT_VERSION_STRING_BELOW
    33     default "0.8.12" if LIBELF_V_0_8_12
    34     default "0.8.11" if LIBELF_V_0_8_11
    35     default "0.8.10" if LIBELF_V_0_8_10