Comments
Patch
@@ -20,7 +20,7 @@ Makefile: ;
configure: ;
.PHONY: all clean cscope distclean dvi html info install install-doc \
- recurse-all speed tar tarbin test build-all
+ recurse-all speed tar tarbin test build-all build-top-level
VPATH=$(SRC_PATH):$(SRC_PATH)/hw
@@ -41,7 +41,9 @@ config-all-devices.mak: $(SUBDIR_DEVICES_MAK)
-include config-all-devices.mak
build-all: config-host.h config-all-devices.h
- $(call quiet-command, $(MAKE) $(SUBDIR_MAKEFLAGS) $(TOOLS) $(DOCS) recurse-all,)
+ $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) V="$(V)" build-top-level recurse-all,)
+
+build-top-level: $(TOOLS) $(DOCS)
config-host.h: config-host.h-timestamp
config-host.h-timestamp: config-host.mak
Make don't print messages for sub-makes rules, but do it when targets are files. If you run make twice in a row, you get this: $ make -j3 make[1]: `qemu-doc.html' is up to date. make[1]: `qemu-tech.html' is up to date. make[1]: `qemu.1' is up to date. make[1]: `qemu-img.1' is up to date. make[1]: `qemu-nbd.8' is up to date. make[1]: `qemu-io' is up to date. make[1]: `qemu-img' is up to date. $ This patch removes this messages, and make is quiet again. Idea for this patch cames for Paulo Bonzini. Signed-off-by: Juan Quintela <quintela@redhat.com> --- Makefile | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)