From 7bdaca8a8cc5d5f4c3517b738c6fd39fbf4a2af1 Mon Sep 17 00:00:00 2001 From: Adrien Beraud <adrien.beraud@savoirfairelinux.com> Date: Fri, 4 Aug 2017 10:49:45 -0400 Subject: [PATCH] tools: use batch mode Further log cleanup for Android; prevent showing the list of files for build tools, which is almost never useful and can print a lot of lines (eg. gettext). Change-Id: Ic87fd110035c3d715273194efb360fbf19de6dab Reviewed-by: Philippe Gorley <philippe.gorley@savoirfairelinux.com> --- extras/tools/tools.mak | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak index bf4eb30d21..a062966943 100644 --- a/extras/tools/tools.mak +++ b/extras/tools/tools.mak @@ -24,6 +24,9 @@ include packages.mak AUTOCONF=$(PREFIX)/bin/autoconf export AUTOCONF +# Set following to non-empty to remove uneeded progression reports (i.e. with automatics builds) +BATCH_MODE = 1 + ifeq ($(shell curl --version >/dev/null 2>&1 || echo FAIL),) download = curl $(if ${BATCH_MODE},-sS) -f -L --retry-delay 10 --retry 2 -- "$(1)" > "$@" else ifeq ($(shell wget --version >/dev/null 2>&1 || echo FAIL),) -- GitLab