toolchain/gcc: reduce source directory size by about 420 MB

Remove gcc testsuite, ada and libjava (if not selected)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
master
Felix Fietkau 8 years ago
parent d86802acd8
commit f204e0fc46
  1. 6
      toolchain/gcc/common.mk

@ -71,6 +71,12 @@ HOST_STAMP_INSTALLED:=$(STAGING_DIR_HOST)/stamp/.gcc_$(GCC_VARIANT)_installed
SEP:=, SEP:=,
TARGET_LANGUAGES:="c,c++$(if $(CONFIG_INSTALL_LIBGCJ),$(SEP)java)$(if $(CONFIG_INSTALL_GFORTRAN),$(SEP)fortran)$(if $(CONFIG_INSTALL_GCCGO),$(SEP)go)" TARGET_LANGUAGES:="c,c++$(if $(CONFIG_INSTALL_LIBGCJ),$(SEP)java)$(if $(CONFIG_INSTALL_GFORTRAN),$(SEP)fortran)$(if $(CONFIG_INSTALL_GCCGO),$(SEP)go)"
TAR_OPTIONS += --exclude='gcc/testsuite/*' --exclude=gcc/ada/*.ad*
ifndef CONFIG_INSTALL_LIBGCJ
TAR_OPTIONS += --exclude=libjava
endif
export libgcc_cv_fixed_point=no export libgcc_cv_fixed_point=no
ifdef CONFIG_USE_UCLIBC ifdef CONFIG_USE_UCLIBC
export glibcxx_cv_c99_math_tr1=no export glibcxx_cv_c99_math_tr1=no

Loading…
Cancel
Save