diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-12-10 06:50:18 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-12-10 08:30:25 +0100 |
commit | 923a30fab77d11f43e68d5a637ef31bbf24cdd1b (patch) | |
tree | ec9aa13c1efcddfe5be379e760c2f3c279371f28 | |
parent | 8709d116de129ebdfb54ac5feb7c0cc84309fece (diff) | |
download | ptxdist-923a30fab77d11f43e68d5a637ef31bbf24cdd1b.tar.gz ptxdist-923a30fab77d11f43e68d5a637ef31bbf24cdd1b.tar.xz |
ptxd_make_setup_progress: only in quiet mode
The progress output is only printed in quiet mode so skip the expensive
setup otherwise.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | scripts/lib/ptxd_make_progress.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_progress.sh b/scripts/lib/ptxd_make_progress.sh index ebcc24945..9e12d3e37 100644 --- a/scripts/lib/ptxd_make_progress.sh +++ b/scripts/lib/ptxd_make_progress.sh @@ -9,7 +9,7 @@ # ptxd_make_setup_progress() { - if [ -n "${PTXDIST_PROGRESS}" ]; then + if [ -n "${PTXDIST_PROGRESS}" -a -n "${PTXDIST_QUIET}" ]; then ptxd_make_target_count=$( \ "${PTXCONF_SETUP_HOST_MAKE}" --dry-run \ -f "${RULESDIR}/other/Toplevel.make" "${@}" 2>/dev/null | \ |