config/arch/arm.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 2111 5f4dbeb370e1
child 2740 8f5f36b3473b
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 # ARM specific configuration file
     2 
     3 ## select ARCH_SUPPORTS_32
     4 ## select ARCH_DEFAULT_32
     5 ## select ARCH_SUPPORTS_BOTH_MMU
     6 ## select ARCH_DEFAULT_HAS_MMU
     7 ## select ARCH_SUPPORTS_BOTH_ENDIAN
     8 ## select ARCH_DEFAULT_LE
     9 ## select ARCH_SUPPORT_ARCH
    10 ## select ARCH_SUPPORT_CPU
    11 ## select ARCH_SUPPORT_TUNE
    12 ## select ARCH_SUPPORT_FPU
    13 ##
    14 ## help The ARM architecture, as defined by:
    15 ## help     http://www.arm.com/