[Buildroot] [git commit] check-hash: silence hash ok messages when make -s is used
Peter Korsgaard
peter at korsgaard.com
Fri Oct 24 23:42:49 UTC 2014
commit: http://git.buildroot.net/buildroot/commit/?id=b7c1c3ba6a7dc3831bea0e16de801049105abaf3
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Similar to what we do for apply-patches.sh
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/pkg-download.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index 0cf0b63..f3409bd 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
More information about the buildroot
mailing list