@@ -8,7 +8,7 @@
################################################################################
# Download method commands
-export WGET := $(call qstrip,$(BR2_WGET)) $(QUIET)
+export WGET := $(call qstrip,$(BR2_WGET))
export SVN := $(call qstrip,$(BR2_SVN))
export CVS := $(call qstrip,$(BR2_CVS))
export BZR := $(call qstrip,$(BR2_BZR))
@@ -213,7 +213,8 @@ define DOWNLOAD_WGET
test -e $(DL_DIR)/$(2) || \
$(EXTRA_ENV) support/download/wrapper wget \
$(DL_DIR)/$(2) \
- '$(call qstrip,$(1))' && \
+ '$(call qstrip,$(1))' \
+ $(QUIET) && \
$(call VERIFY_HASH,$(PKGDIR)/$($(PKG)_NAME).hash,$(DL_DIR)/$(2))
endef
@@ -12,5 +12,6 @@ set -e
output="${1}"
url="${2}"
+quiet="${3}"
-${WGET} -O "${output}" "${url}"
+${WGET} ${quiet} -O "${output}" "${url}"
To be coherent to others download helper, instead of adding the "QUIET" variable to the "WGET" variable, pass the "QUIET" variable to the wget download helper. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> --- Notes: v4: - add this patch package/pkg-download.mk | 5 +++-- support/download/wget | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-)