qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] call make with quite-command


From: Juan Quintela
Subject: [Qemu-devel] [PATCH] call make with quite-command
Date: Sat, 29 Aug 2009 02:40:13 +0200

On top of new config series. Remove the make directory printing.

Signed-off-by: Juan Quintela <address@hidden>
---
 Makefile        |    3 ++-
 Makefile.target |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 1befee0..236fb03 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,7 @@ DOCS=
 endif

 SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(TARGET_DIRS))
+SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory)

 config-all-devices.mak: $(SUBDIR_DEVICES_MAK)
        $(call quiet-command,grep "=y$$" $(SUBDIR_DEVICES_MAK) | sort -u > $@," 
 GEN  $@")
@@ -35,7 +36,7 @@ config-all-devices.mak: $(SUBDIR_DEVICES_MAK)
 include config-all-devices.mak

 build-all: config-host.h
-       $(MAKE) $(TOOLS) $(DOCS) recurse-all
+       $(call quiet-command, $(MAKE) $(SUBDIR_MAKEFLAGS) $(TOOLS) $(DOCS) 
recurse-all,)

 config-host.h: config-host.h-timestamp
 config-host.h-timestamp: config-host.mak
diff --git a/Makefile.target b/Makefile.target
index d244f7a..f1887e2 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -31,7 +31,7 @@ config-target.h: config-target.h-timestamp
 config-target.h-timestamp: config-target.mak

 all: config-target.h
-       $(MAKE) $(PROGS)
+       $(call quiet-command, $(MAKE) $(PROGS),)

 # Dummy command so that make thinks it has done something
        @true
-- 
1.6.2.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]