summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2012-07-05 01:31:11 +0200
committerMichal Marek <mmarek@suse.cz>2012-07-13 14:27:17 +0200
commitebca026a793b2958d7e59df4730c1159a55e9fe2 (patch)
treeca02e14f430914e8faffba6f542bb87cb4aa8d0e /scripts/kconfig
parentxconfig: use pkgconfig to find moc (diff)
downloadlinux-ebca026a793b2958d7e59df4730c1159a55e9fe2.tar.xz
linux-ebca026a793b2958d7e59df4730c1159a55e9fe2.zip
xconfig: add quiet rule for moc
Also add a dependency on .tmp_qtcheck for KC_QT_MOC. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 5e2176cba4a6..cf1171f0f02b 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -298,8 +298,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)/%.moc: $(src)/%.h $(obj)/.tmp_qtcheck
+ $(call cmd,moc)
# Extract gconf menu items for I18N support
$(obj)/gconf.glade.h: $(obj)/gconf.glade