external-toolchain: Slightly optimize toolchain extraction
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 9 Oct 2011 17:44:31 +0000 (19:44 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 10 Oct 2011 07:46:36 +0000 (09:46 +0200)
commit2e57043b4d1659b54cd5954ad98884e1a1c3848a
tree5f09411deabe7c0c3ac5699ca9431b05083ec061
parentce1940ddea7d82e5da1e0b8c14395a1302d29086
external-toolchain: Slightly optimize toolchain extraction

Some CodeSourcery toolchains contain a huge number of locales that are
not useful, even though they account for 70-80% of the total toolchain
size. By skipping the extraction of those useless locales, we make the
toolchain extraction process slightly faster, and also make the output
directory size a lot smaller (host/opt/ is 213 MB instead of 1.5 GB
with a 2010.09 ARM CodeSourcery toolchain).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/toolchain-external/ext-tool.mk