Skip to contentSkip to conversation

svn commit: trunk/buildroot/package

Buildroot NAK ulf at uclibc.org 2 participants 2 messages Jul 6, 2008 – Jul 7, 2008

lore
Share & tools
lore
#0 lore raw

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
===================================================================

buildroot/package/Makefile.autotools.in +3 -1
@@ -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:
+
+
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"ulf" == ulf <[email protected]> writes:

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

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

Nack, reverting as that breaks source-check/external-deps.

Signature · 1 line
Bye, Peter Korsgaard