kbuild: silence moc when V=0
PATCH 1/1 kbuild: silence moc when V=0
Use quiet_cmd to silence moc when V=0
--- scripts/kconfig/Makefile | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-)
scripts/kconfig/Makefile +5 -2
@@ -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
Signature · 1 line
1.7.7
Hi,
Quoted 4 lines · Peter Foley
Use
quiet_cmdto silence moc when V=0Signed-off-by Peter Foley <[email protected]>
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
Quoted 30 lines
---
scripts/kconfig/Makefile | 7 +++++--1 files changed, 5 insertions(+), 2 deletions(-)scripts/kconfig/Makefile +0
-0@@ -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 $@scripts/kconfig/Makefile +5
-0+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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Arnaud Lacombe
Hi,
Quoted 4 lines · Peter Foley
Use
quiet_cmdto silence moc when V=0Signed-off-by Peter Foley <[email protected]>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