Skip to content
Snippets Groups Projects
Commit f204e0fc authored by Felix Fietkau's avatar Felix Fietkau
Browse files

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


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

Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent d86802ac
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,12 @@ HOST_STAMP_INSTALLED:=$(STAGING_DIR_HOST)/stamp/.gcc_$(GCC_VARIANT)_installed
SEP:=,
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
ifdef CONFIG_USE_UCLIBC
export glibcxx_cv_c99_math_tr1=no
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment