From 74a374edb1b9601db3b0e10144120cedbeb8f255 Mon Sep 17 00:00:00 2001 From: Ivan Kuten Date: Sat, 20 Oct 2007 18:09:53 +0000 Subject: [PATCH] 'make source' command working again for gcc --- toolchain/gcc/gcc-uclibc-3.x.mk | 1 + toolchain/gcc/gcc-uclibc-4.x.mk | 2 ++ 2 files changed, 3 insertions(+) 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) -- 2.30.2