Commit 0087375ec85879b69cdb039298ac51c740f11fcb
1 parent
399a4e21
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>
Showing
1 changed file
with
2 additions
and
1 deletions
Makefile
... | ... | @@ -49,10 +49,11 @@ ifneq ($(wildcard config-host.mak),) |
49 | 49 | @sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh |
50 | 50 | endif |
51 | 51 | |
52 | +SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory) | |
52 | 53 | SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS)) |
53 | 54 | |
54 | 55 | subdir-%: |
55 | - $(call quiet-command,$(MAKE) -C $* V="$(V)" TARGET_DIR="$*/" all,) | |
56 | + $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C $* V="$(V)" TARGET_DIR="$*/" all,) | |
56 | 57 | |
57 | 58 | $(filter %-softmmu,$(SUBDIR_RULES)): libqemu_common.a |
58 | 59 | $(filter %-user,$(SUBDIR_RULES)): libqemu_user.a | ... | ... |