public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kbuild: silence moc when V=0
@ 2011-10-22 17:10 Peter Foley
  2011-10-22 19:29 ` Arnaud Lacombe
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Foley @ 2011-10-22 17:10 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Kbuild Mailing List, mmarek

Use quiet_cmd to silence moc when V=0

Signed-off-by: Peter Foley <pefoley2@verizon.net>
---
 scripts/kconfig/Makefile |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 1d99a08..7f1a6cd 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -322,8 +322,11 @@ $(obj)/zconf.tab.o: $(obj)/zconf.lex.c $(obj)/zconf.hash.c
 
 $(obj)/qconf.o: $(obj)/qconf.moc
 
-$(obj)/%.moc: $(src)/%.h
-	$(KC_QT_MOC) -i $< -o $@
+quiet_cmd_moc = MOC     $@
+cmd_moc = $(KC_QT_MOC) -i $< -o $@
+
+$(obj)/qconf.moc: $(src)/qconf.h
+	$(call if_changed,moc)
 
 # Extract gconf menu items for I18N support
 $(obj)/gconf.glade.h: $(obj)/gconf.glade
-- 
1.7.7


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-22 19:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-22 17:10 [PATCH] kbuild: silence moc when V=0 Peter Foley
2011-10-22 19:29 ` Arnaud Lacombe
2011-10-22 19:38   ` Peter Foley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox