config/kernel/bare-metal.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 1030 e5bf882d6514
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>
yann@861
     1
# Bare metal config options
yann@861
     2
yann@2444
     3
## select BARE_METAL
yann@2444
     4
##
yann@2444
     5
## help 'Bare metal' refers to those programs that run without any kernel.
yann@2444
     6
## help
yann@2444
     7
## help You probably want to say 'y' here if you plan to use your compiler
yann@2444
     8
## help to build bootloaders. It is not yet suitable to build Linux kernels,
yann@2444
     9
## help though, because the APCI stuff relies on the target C library headers
yann@2444
    10
## help being available?!?!...