summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/gcc.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/gcc.mk b/mk/gcc.mk
index 8b02d5e..c44cc55 100644
--- a/mk/gcc.mk
+++ b/mk/gcc.mk
@@ -23,7 +23,11 @@
################################################################################
GCC_VERSION := $(subst ",,$(strip $(CONFIG_EMBTK_GCC_VERSION_STRING)))
+ifeq ($(CONFIG_EMBTK_GCC_HAVE_MIRROR),y)
+GCC_SITE := $(subst ",,$(strip $(CONFIG_EMBTK_GCC_HAVE_MIRROR_SITE)))
+else
GCC_SITE := ftp://ftp.gnu.org/gnu/gcc/gcc-$(GCC_VERSION)
+endif
GCC_PACKAGE := gcc-$(GCC_VERSION).tar.bz2
GCC1_BUILD_DIR := $(TOOLS_BUILD)/gcc1
GCC2_BUILD_DIR := $(TOOLS_BUILD)/gcc2