summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Kuten2007-10-20 20:09:53 +0200
committerIvan Kuten2007-10-20 20:09:53 +0200
commit74a374edb1b9601db3b0e10144120cedbeb8f255 (patch)
tree22c7dd5ae36da9e344cd32e59d4b32bef8a78acd
parentfix libmudflap build failure for 4.1.2 gcc - pass CPP=<target_cpp>, thanks to... (diff)
downloadbuildroot-74a374edb1b9601db3b0e10144120cedbeb8f255.tar.gz
buildroot-74a374edb1b9601db3b0e10144120cedbeb8f255.tar.xz
buildroot-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)