samples/powerpc-e500v2-linux-gnuspe/reported.by
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Fri Jul 29 13:04:49 2011 +0200 (2011-07-29)
changeset 2574 6e1412ba8da9
parent 2290 ba82eb173bd4
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 reporter_name="Anthony Foiani <anthony.foiani@gmail.com>"
     2 reporter_url="http://sourceware.org/ml/crossgcc/2010-09/msg00100.html"
     3 reporter_comment="This is a sample config file for Freescale e500v2 processors (e.g., MPC8548,
     4 MPC8572). It uses eglibc (for e500/SPE patches) and a recent gcc (4.6.0,
     5 for e500v2 DPFP support) and will generate appropriate dual-precision
     6 floating point instructions by default.
     7 
     8 Note: If building a Linux kernel with this toolchain, you will want to make
     9 sure -mno-spe AND -mspe=no are passed to gcc to prevent SPE ABI/instructions
    10 from getting into the kernel (which is currently unsupported). At this time,
    11 the kernel build system properly passes those two options, but older kernels
    12 were only passing -mno-spe by default."