summaryrefslogtreecommitdiffstats
path: root/package/pkg-download.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2014-10-25 01:42:49 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-10-25 01:42:49 +0200
commitb7c1c3ba6a7dc3831bea0e16de801049105abaf3 (patch)
treecbe0d70aba05a0fb6096e4ab232e40350eccebcd /package/pkg-download.mk
parent9a4e217b73bbf8fe0619f03c66f7301c4126b6a7 (diff)
downloadbuildroot-b7c1c3ba6a7dc3831bea0e16de801049105abaf3.tar.gz
buildroot-b7c1c3ba6a7dc3831bea0e16de801049105abaf3.zip
check-hash: silence hash ok messages when make -s is used
Similar to what we do for apply-patches.sh Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/pkg-download.mk')
-rw-r--r--package/pkg-download.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index 0cf0b63d81..f3409bd46e 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -63,7 +63,7 @@ github = https://github.com/$(1)/$(2)/archive/$(3)
# $(1): the path to the file with the hashes
# $(2): the full path to the file to check
define VERIFY_HASH
- if ! support/download/check-hash $(1) $(2); then \
+ if ! support/download/check-hash $(1) $(2) $(if $(QUIET),>/dev/null); then \
rm -f $(2); \
exit 1; \
fi
OpenPOWER on IntegriCloud