qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 02/12] build-sys: silence make by default


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH 02/12] build-sys: silence make by default
Date: Fri, 8 Dec 2017 01:58:15 +0100

In particular, do not print anything when there is nothing to do, in
particular, after a successful build:

$ make
make[1]: '/home/elmarco/src/qemu/build/capstone/libcapstone.a' is up to date.

Signed-off-by: Marc-André Lureau <address@hidden>
---
 rules.mak | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/rules.mak b/rules.mak
index 6e943335f3..b760d54908 100644
--- a/rules.mak
+++ b/rules.mak
@@ -131,6 +131,11 @@ 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_ = $(makeflags_0)
+makeflags_0 = --no-print-directory -s
+makeflags_1 =
+MAKEFLAGS += $(makeflags_$(V))
+
 # cc-option
 # Usage: CFLAGS+=$(call cc-option, -falign-functions=0, -malign-functions=0)
 
-- 
2.15.1.355.g36791d7216




reply via email to

[Prev in Thread] Current Thread [Next in Thread]