qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [COMMIT ee7a122] Suppress make directory messages.


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT ee7a122] Suppress make directory messages.
Date: Thu, 07 May 2009 01:05:34 -0000

From: Paul Brook <address@hidden>

We already print a directory prefix in non-verbose mode, so there's no
point printing a messages when recursive make enters/leaves a directory.

Signed-off-by: Paul Brook <address@hidden>

diff --git a/Makefile b/Makefile
index 3c70068..8649938 100644
--- a/Makefile
+++ b/Makefile
@@ -49,10 +49,11 @@ ifneq ($(wildcard config-host.mak),)
        @sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh
 endif
 
+SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory)
 SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS))
 
 subdir-%:
-       $(call quiet-command,$(MAKE) -C $* V="$(V)" TARGET_DIR="$*/" all,)
+       $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C $* V="$(V)" 
TARGET_DIR="$*/" all,)
 
 $(filter %-softmmu,$(SUBDIR_RULES)): libqemu_common.a
 $(filter %-user,$(SUBDIR_RULES)): libqemu_user.a




reply via email to

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