]> xenbits.xensource.com Git - qemu-xen-4.2-testing.git/commitdiff
Suppress make directory messages.
authorPaul Brook <paul@codesourcery.com>
Thu, 7 May 2009 01:00:31 +0000 (02:00 +0100)
committerPaul Brook <paul@codesourcery.com>
Thu, 7 May 2009 01:00:31 +0000 (02:00 +0100)
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 <paul@codesourcery.com>
Makefile

index 3c700687def79c7309529c2357d181888be00b4c..86499382de13bb29cfcaa0eabfe6c896fd52dbd4 100644 (file)
--- 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