From: Peter Korsgaard Date: Fri, 24 Oct 2014 23:42:49 +0000 (+0200) Subject: check-hash: silence hash ok messages when make -s is used X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7c1c3ba6a7dc3831bea0e16de801049105abaf3;p=buildroot.git 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 --- 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