diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2008-07-06 06:23:21 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2008-07-06 06:23:21 +0000 |
commit | 5ac33b59aa41ef5fe4c07ae7192828c1c61cc85d (patch) | |
tree | a16882d269115d3b9c489e1e2aa07594ddc3cf30 /package/Makefile.autotools.in | |
parent | 81164a3c79a720c415055984ea58308dca04edbd (diff) |
Avoid duplicate downloading, when rebuilding failed package like libgtk2
Diffstat (limited to 'package/Makefile.autotools.in')
-rw-r--r-- | package/Makefile.autotools.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index 16fc37192..574ef1cf5 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -132,7 +132,7 @@ TAR ?= tar $(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 @@ endif endef # :mode=makefile: + + |