From 28fbd7470d1c35edf1de93a0ac26027cf47c724c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 23 Jun 2011 11:46:24 +0000 Subject: add gfortran compiler support (#9600, patch from Xiangfu Liu via Qi hardware) SVN-Revision: 27262 --- toolchain/gcc/Config.in | 8 ++++++++ toolchain/gcc/common.mk | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'toolchain') diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in index e6434d0f7d..6b45da55bd 100644 --- a/toolchain/gcc/Config.in +++ b/toolchain/gcc/Config.in @@ -89,3 +89,11 @@ config INSTALL_LIBGCJ default n help Build/install java compiler and GNU classpath ? + + +config INSTALL_GFORTRAN + bool + prompt "Build/install fortran compiler?" if TOOLCHAINOPTS + default n + help + Build/install GNU fortran compiler ? diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index e047ace653..1ef14a87ed 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -86,7 +86,7 @@ HOST_STAMP_CONFIGURED:=$(GCC_BUILD_DIR)/.configured HOST_STAMP_INSTALLED:=$(STAGING_DIR_HOST)/stamp/.gcc_$(GCC_VARIANT)_installed SEP:=, -TARGET_LANGUAGES:="c$(if $(CONFIG_INSTALL_LIBSTDCPP),$(SEP)c++)$(if $(CONFIG_INSTALL_LIBGCJ),$(SEP)java)" +TARGET_LANGUAGES:="c$(if $(CONFIG_INSTALL_LIBSTDCPP),$(SEP)c++)$(if $(CONFIG_INSTALL_LIBGCJ),$(SEP)java)$(if $(CONFIG_INSTALL_GFORTRAN),$(SEP)fortran)" export libgcc_cv_fixed_point=no ifdef CONFIG_USE_UCLIBC -- cgit v1.2.3