aboutsummaryrefslogtreecommitdiff
path: root/rules.mak
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-01-04 17:05:07 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2018-01-12 13:22:02 +0100
commit42a77f1ce4934b243df003f95bda88530631387a (patch)
treee187ec56f1ed9d3e1fdd85d62367a3ada49b77a5 /rules.mak
parent14ab3aa7dc43b2eebbdf8b04a3b351b5ca5e13fe (diff)
downloadqemu-42a77f1ce4934b243df003f95bda88530631387a.zip
qemu-42a77f1ce4934b243df003f95bda88530631387a.tar.gz
qemu-42a77f1ce4934b243df003f95bda88530631387a.tar.bz2
build-sys: silence make by default or V=0
Move generic make flags in MAKEFLAGS (SUBDIR_MAKEFLAGS is more qemu specific). Use --quiet to silence make 'is up to date' message. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Tested-by: Eric Blake <eblake@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20180104160523.22995-3-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rules.mak')
-rw-r--r--rules.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.mak b/rules.mak
index 6e94333..5fb4951 100644
--- a/rules.mak
+++ b/rules.mak
@@ -131,6 +131,8 @@ modules:
# If called with only a single argument, will print nothing in quiet mode.
quiet-command = $(if $(V),$1,$(if $(2),@printf " %-7s %s\n" $2 $3 && $1, @$1))
+MAKEFLAGS += $(if $(V),,--no-print-directory --quiet)
+
# cc-option
# Usage: CFLAGS+=$(call cc-option, -falign-functions=0, -malign-functions=0)