config/debug/strace.in
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Fri Jul 29 13:04:49 2011 +0200 (2011-07-29)
changeset 2574 6e1412ba8da9
parent 2006 f15068f8ae3b
child 2733 3362c64f4b6c
permissions -rw-r--r--
scripts/functions: force extract folder to archive basename

Some archives like those of the 2011.07 revisions of Linaro GCC contain a folder
name different from the archive basename, which leads to errors afterwards, e.g.
when patching. E.g.:
gcc-linaro-4.5-2011.07.tar.bz2 extracts to gcc-linaro-4.5-2011.07-0/

This patch changes CT_Extract() to force the extraction of all archives to a
folder named like the archive basename. E.g.:
gcc-linaro-4.5-2011.07.tar.bz2 now extracts to gcc-linaro-4.5-2011.07/

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
     1 # strace
     2 
     3 ## depends on ! BACKEND
     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_20
    12     bool
    13     prompt "4.5.20 (EXPERIMENTAL)"
    14     depends on EXPERIMENTAL
    15 
    16 config STRACE_V_4_5_19
    17     bool
    18     prompt "4.5.19"
    19 
    20 config STRACE_V_4_5_18
    21     bool
    22     prompt "4.5.18"
    23 
    24 config STRACE_V_4_5_17
    25     bool
    26     prompt "4.5.17 (OBSOLETE)"
    27     depends on OBSOLETE
    28 
    29 config STRACE_V_4_5_16
    30     bool
    31     prompt "4.5.16 (OBSOLETE)"
    32     depends on OBSOLETE
    33 
    34 config STRACE_V_4_5_15
    35     bool
    36     prompt "4.5.15 (OBSOLETE)"
    37     depends on OBSOLETE
    38 
    39 endchoice
    40 
    41 config STRACE_VERSION
    42     string
    43 # Don't remove next line
    44 # CT_INSERT_VERSION_STRING_BELOW
    45     default "4.5.20" if STRACE_V_4_5_20
    46     default "4.5.19" if STRACE_V_4_5_19
    47     default "4.5.18" if STRACE_V_4_5_18
    48     default "4.5.17" if STRACE_V_4_5_17
    49     default "4.5.16" if STRACE_V_4_5_16
    50     default "4.5.15" if STRACE_V_4_5_15