[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Change make to be quite again when doing nothing
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH] Change make to be quite again when doing nothing |
Date: |
Wed, 14 Oct 2009 12:33:29 +0200 |
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 <address@hidden>
---
Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 04e21bb..238bd84 100644
--- a/Makefile
+++ b/Makefile
@@ -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
--
1.6.2.5
- [Qemu-devel] [PATCH] Change make to be quite again when doing nothing,
Juan Quintela <=