config/libc/none.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 1591 11460fc587e6
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 # Dummy config file to not use a C library *at all*
     2 
     3 ## depends on BARE_METAL
     4 ##
     5 ## help Do not use a C library.
     6 ## help
     7 ## help This is usefull if your project is self-contained, does not rely on
     8 ## help an external C library, and provides all the necessary bits.
     9 ## help
    10 ## help Most probably usefull to bootloaders, as they generally don't depend
    11 ## help on the C library.
    12 ## help
    13 ## help If unsure: do *not* choose that, and use another option in the choice.