From: Ivan Kuten Date: Sat, 20 Oct 2007 18:09:53 +0000 (-0000) Subject: 'make source' command working again for gcc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74a374edb1b9601db3b0e10144120cedbeb8f255;p=buildroot.git 'make source' command working again for gcc --- diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk index 25316cfb76..e2210d06c5 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 17b2451e50..cbf5095558 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)