aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-07 02:00:31 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-07 02:00:31 +0100
commit0087375ec85879b69cdb039298ac51c740f11fcb (patch)
treeee7a122840d447eb2a8e3417cf8d7fc53b217b43
parent399a4e2106e9800ba1b7de7d96f3370f6d862f7c (diff)
Suppress make directory messages.
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>
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3c700687de..86499382de 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