diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index 574ef1cf56..16fc371927 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) - -$(Q)test -e $(DL_DIR)/$($(PKG)_SOURCE) || $(WGET) -P $(DL_DIR) $($(PKG)_SITE)/$($(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,5 +395,3 @@ endif endef # :mode=makefile: - -