summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Kuten <ivan.kuten@promwad.com>2007-10-20 18:09:53 +0000
committerIvan Kuten <ivan.kuten@promwad.com>2007-10-20 18:09:53 +0000
commit74a374edb1b9601db3b0e10144120cedbeb8f255 (patch)
tree22c7dd5ae36da9e344cd32e59d4b32bef8a78acd
parent587c4892e5288719bdc379a9653dcecb4bc24b2e (diff)
downloadbuildroot-novena-74a374edb1b9601db3b0e10144120cedbeb8f255.tar.gz
buildroot-novena-74a374edb1b9601db3b0e10144120cedbeb8f255.zip
'make source' command working again for gcc
-rw-r--r--toolchain/gcc/gcc-uclibc-3.x.mk1
-rw-r--r--toolchain/gcc/gcc-uclibc-4.x.mk2
2 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk
index 25316cfb7..e2210d06c 100644
--- a/toolchain/gcc/gcc-uclibc-3.x.mk
+++ b/toolchain/gcc/gcc-uclibc-3.x.mk
@@ -127,6 +127,7 @@ ifneq ($(BR2_ENABLE_LOCALE),y)
GCC_ENABLE_CLOCALE:=--disable-clocale
endif
+HOST_SOURCE+=gcc-source
#############################################################
#
diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk
index 17b2451e5..cbf509555 100644
--- a/toolchain/gcc/gcc-uclibc-4.x.mk
+++ b/toolchain/gcc/gcc-uclibc-4.x.mk
@@ -141,6 +141,8 @@ ifeq ($(BR2_KERNEL_HURD),y)
EXTRA_GCC1_CONFIG_OPTIONS+=--without-headers
endif
+HOST_SOURCE+=gcc-source
+
$(DL_DIR)/$(GCC_SOURCE):
mkdir -p $(DL_DIR)
$(WGET) -P $(DL_DIR) $(GCC_SITE)/$(GCC_SOURCE)