config/arch/s390.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 1636 3167f947f93f
child 2788 b6faa28e76e0
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>
harold@1629
     1
# s390 specific config options
harold@1629
     2
yann@2444
     3
## depends on EXPERIMENTAL
yann@2444
     4
##
yann@2444
     5
## select ARCH_SUPPORTS_32
yann@2444
     6
## select ARCH_SUPPORTS_64
yann@2444
     7
## select ARCH_DEFAULT_32
yann@2444
     8
## select ARCH_USE_MMU
yann@2444
     9
## select ARCH_SUPPORT_FPU
yann@2444
    10
##
yann@2444
    11
## help Defined by IBM in:
yann@2444
    12
## help     32-bit ESA/390       : http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dz9ar008/CCONTENTS
yann@2444
    13
## help     64-bit z/Architecure : http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dz9zr002/CCONTENTS