From patchwork Wed Oct 14 10:33:29 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 35932 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 637C9B7B74 for ; Wed, 14 Oct 2009 21:35:00 +1100 (EST) Received: from localhost ([127.0.0.1]:51073 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My1C5-00043T-93 for incoming@patchwork.ozlabs.org; Wed, 14 Oct 2009 06:34:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My1BF-0003yv-Lk for qemu-devel@nongnu.org; Wed, 14 Oct 2009 06:34:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My1BA-0003rp-Bo for qemu-devel@nongnu.org; Wed, 14 Oct 2009 06:34:04 -0400 Received: from [199.232.76.173] (port=53662 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My1BA-0003rQ-6s for qemu-devel@nongnu.org; Wed, 14 Oct 2009 06:34:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50860) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1My1B9-0004j4-D9 for qemu-devel@nongnu.org; Wed, 14 Oct 2009 06:33:59 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9EAXuxF019414 for ; Wed, 14 Oct 2009 06:33:56 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9EAXsT7011465; Wed, 14 Oct 2009 06:33:55 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 14 Oct 2009 12:33:29 +0200 Message-Id: <1255516409-19166-1-git-send-email-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH] Change make to be quite again when doing nothing X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 --- 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