lkml.org 
[lkml]   [2011]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] kbuild: silence moc when V=0
From
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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-10-22 21:31    [W:2.573 / U:2.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site