[Buildroot] svn commit: trunk/buildroot/package

ulf at uclibc.org ulf at uclibc.org
Sun Jul 6 06:23:22 UTC 2008


Author: ulf
Date: 2008-07-05 23:23:21 -0700 (Sat, 05 Jul 2008)
New Revision: 22659

Log:
Avoid duplicate downloading, when rebuilding failed package like libgtk2

Modified:
   trunk/buildroot/package/Makefile.autotools.in


Changeset:
Modified: trunk/buildroot/package/Makefile.autotools.in
===================================================================
--- trunk/buildroot/package/Makefile.autotools.in	2008-07-06 06:19:12 UTC (rev 22658)
+++ trunk/buildroot/package/Makefile.autotools.in	2008-07-06 06:23:21 UTC (rev 22659)
@@ -132,7 +132,7 @@
 $(BUILD_DIR)/%/.stamp_downloaded:
 # support make source-check/external-deps
 ifeq ($(MAKELEVEL),1)
-	$(WGET) -P $(DL_DIR) $($(PKG)_SITE)/$($(PKG)_SOURCE)
+	-$(Q)test -e $(DL_DIR)/$($(PKG)_SOURCE) || $(WGET) -P $(DL_DIR) $($(PKG)_SITE)/$($(PKG)_SOURCE)
 	$(if $($(PKG)_PATCH),$(WGET) -P $(DL_DIR) $($(PKG)_SITE)/$($(PKG)_PATCH))
 else
 	$(call MESSAGE,"Downloading")
@@ -395,3 +395,5 @@
 endef
 
 # :mode=makefile:
+
+




More information about the buildroot mailing list