diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-06-30 21:29:04 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-07-03 23:37:23 +0200 |
commit | 00e9b1e4f78633d5667b187332f36972a94b9f8b (patch) | |
tree | d915ffc889c44c31e46a3120834e947ee47f75eb /package/gcc/gcc-intermediate | |
parent | e236fe481e5f8c4cd4984f39dc37dbf19c8d8eda (diff) | |
download | buildroot-novena-00e9b1e4f78633d5667b187332f36972a94b9f8b.tar.gz buildroot-novena-00e9b1e4f78633d5667b187332f36972a94b9f8b.zip |
gcc-initial, gcc-intermediate, gcc-final: optimize extraction
Several sub-directories of the gcc code base are in fact not needed
for the Buildroot build: libjava/, libgo/ and gcc/testsuite/ being the
biggest ones. Avoiding their extraction saves quite a bit of disk
space, and compensates a bit the fact that we now extract three times
the gcc source code.
This requires changing the 100-uclibc-conf.patch to no longer patch
files from the libjava/ directory, since this directory is no longer
extracted.
[Peter: add comment about why this is done]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gcc/gcc-intermediate')
-rw-r--r-- | package/gcc/gcc-intermediate/gcc-intermediate.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/gcc/gcc-intermediate/gcc-intermediate.mk b/package/gcc/gcc-intermediate/gcc-intermediate.mk index 0c062a756..6b6b57e1f 100644 --- a/package/gcc/gcc-intermediate/gcc-intermediate.mk +++ b/package/gcc/gcc-intermediate/gcc-intermediate.mk @@ -12,6 +12,8 @@ HOST_GCC_INTERMEDIATE_DEPENDENCIES = \ $(HOST_GCC_COMMON_DEPENDENCIES) \ uclibc-configured +HOST_GCC_INTERMEDIATE_EXTRACT_CMDS = $(HOST_GCC_EXTRACT_CMDS) + ifneq ($(call qstrip, $(BR2_XTENSA_CORE_NAME)),) HOST_GCC_INTERMEDIATE_POST_EXTRACT_CMDS += HOST_GCC_XTENSA_OVERLAY_EXTRACT endif |