@@ -14,7 +14,7 @@ export CVS := $(call qstrip,$(BR2_CVS))
export BZR := $(call qstrip,$(BR2_BZR))
export GIT := $(call qstrip,$(BR2_GIT))
export HG := $(call qstrip,$(BR2_HG))
-export SCP := $(call qstrip,$(BR2_SCP)) $(QUIET)
+export SCP := $(call qstrip,$(BR2_SCP))
SSH := $(call qstrip,$(BR2_SSH)) $(QUIET)
export LOCALFILES := $(call qstrip,$(BR2_LOCALFILES))
@@ -175,7 +175,8 @@ define DOWNLOAD_SCP
test -e $(DL_DIR)/$(2) || \
$(EXTRA_ENV) support/download/wrapper scp \
$(DL_DIR)/$(2) \
- '$(call stripurischeme,$(call qstrip,$(1)))' && \
+ '$(call stripurischeme,$(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}"
-${SCP} "${url}" "${output}"
+${SCP} ${quiet} "${url}" "${output}"
To be coherent to others download helper, instead of adding the "QUIET" variable to the "SCP" variable, pass the "QUIET" variable to the scp download helper. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> --- Notes: v4: - add this patch package/pkg-download.mk | 5 +++-- support/download/scp | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-)