Explorar o código

'make source' command working again for gcc

Ivan Kuten %!s(int64=18) %!d(string=hai) anos
pai
achega
74a374edb1
Modificáronse 2 ficheiros con 3 adicións e 0 borrados
  1. 1 0
      toolchain/gcc/gcc-uclibc-3.x.mk
  2. 2 0
      toolchain/gcc/gcc-uclibc-4.x.mk

+ 1 - 0
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
 
 #############################################################
 #

+ 2 - 0
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)