@@ -13,7 +13,7 @@ export SVN := $(call qstrip,$(BR2_SVN))
export CVS := $(call qstrip,$(BR2_CVS))
export BZR := $(call qstrip,$(BR2_BZR))
export GIT := $(call qstrip,$(BR2_GIT))
-export HG := $(call qstrip,$(BR2_HG)) $(QUIET)
+export HG := $(call qstrip,$(BR2_HG))
export SCP := $(call qstrip,$(BR2_SCP)) $(QUIET)
SSH := $(call qstrip,$(BR2_SSH)) $(QUIET)
export LOCALFILES := $(call qstrip,$(BR2_LOCALFILES))
@@ -194,7 +194,8 @@ define DOWNLOAD_HG
$(DL_DIR)/$($(PKG)_SOURCE) \
$($(PKG)_SITE) \
$($(PKG)_DL_VERSION) \
- $($(PKG)_BASE_NAME)
+ $($(PKG)_BASE_NAME) \
+ $(QUIET)
endef
# TODO: improve to check that the given PKG_DL_VERSION exists on the remote
@@ -16,9 +16,10 @@ output="${1}"
repo="${2}"
cset="${3}"
basename="${4}"
+quiet="${5}"
-${HG} clone --noupdate --rev "${cset}" "${repo}" "${basename}"
+${HG} ${quiet} clone --noupdate --rev "${cset}" "${repo}" "${basename}"
-${HG} archive --repository "${basename}" --type tgz \
+${HG} ${quiet} archive --repository "${basename}" --type tgz \
--prefix "${basename}" --rev "${cset}" \
"${output}"
To be coherent to others download helper, instead of adding the "QUIET" variable to the "HG" variable, pass the "QUIET" variable to the hg download helper. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> --- Notes: v4: - add this patch package/pkg-download.mk | 5 +++-- support/download/hg | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-)