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

* Re: [PATCH] kbuild: silence moc when V=0
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Arnaud Lacombe @ 2011-10-22 19:29 UTC (permalink / raw)
  To: Peter Foley; +Cc: Linux Kernel Mailing List, Linux Kbuild Mailing List, mmarek

Hi,

On Sat, Oct 22, 2011 at 1:10 PM, Peter Foley <pefoley2@verizon.net> wrote:
> Use quiet_cmd to silence moc when V=0
>
> Signed-off-by: Peter Foley <pefoley2@verizon.net>
>
This was included in my branch reworking the checking logic in the
Makefile, I still need to find some time to finish to polish it.

 - Arnaud

> ---
>  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
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

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

* Re: [PATCH] kbuild: silence moc when V=0
  2011-10-22 19:29 ` Arnaud Lacombe
@ 2011-10-22 19:38   ` Peter Foley
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Foley @ 2011-10-22 19:38 UTC (permalink / raw)
  To: Arnaud Lacombe
  Cc: Peter Foley, Linux Kernel Mailing List, Linux Kbuild Mailing List,
	mmarek

On Sat, 22 Oct 2011, Arnaud Lacombe wrote:

> Hi,
> 
> On Sat, Oct 22, 2011 at 1:10 PM, Peter Foley <pefoley2@verizon.net> wrote:
> > Use quiet_cmd to silence moc when V=0
> >
> > Signed-off-by: Peter Foley <pefoley2@verizon.net>
> >
> This was included in my branch reworking the checking logic in the
> Makefile, I still need to find some time to finish to polish it.
> 
>  - Arnaud

Ok, feel free to drop this patch then.

Peter

^ permalink raw reply	[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