config/global.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 694 1026e9628e59
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 # Overall toolchain configuration: paths, jobs, etc...
     2 
     3 # Allow unconditional usage of tristates
     4 config MODULES
     5     bool
     6     default y
     7 
     8 menu "Paths and misc options"
     9 
    10 source "config/global/ct-behave.in"
    11 source "config/global/paths.in"
    12 source "config/global/download.in"
    13 source "config/global/extract.in"
    14 source "config/global/build-behave.in"
    15 source "config/global/logging.in"
    16 
    17 endmenu