From patchwork Sat Jul 2 01:47:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Lacombe X-Patchwork-Id: 939822 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p621nJIA028979 for ; Sat, 2 Jul 2011 01:49:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752565Ab1GBBry (ORCPT ); Fri, 1 Jul 2011 21:47:54 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:41010 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752411Ab1GBBrv (ORCPT ); Fri, 1 Jul 2011 21:47:51 -0400 Received: by mail-iy0-f174.google.com with SMTP id 12so3223102iyb.19 for ; Fri, 01 Jul 2011 18:47:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=JURaa+HVuEGP2lF2BortRdj+QdRkx1VtZRywKHwf1pU=; b=kVkGkX9vG1kH74zcwAgXxdKJFpQMDv/DEV6hzxelBRya+5OSveysVOmJOwtRBQwzwN kX+/CpMzpOb26nnQko/wnDezrsL5AEGN+Iq8RNRMEt8fvePlrIjwFNqxsSOf9/qBVpfb xBEEb7AGPokdx2wQonsU5fxrwRz3z/s1Gmonk= Received: by 10.42.18.202 with SMTP id y10mr4192090ica.179.1309571271511; Fri, 01 Jul 2011 18:47:51 -0700 (PDT) Received: from localhost.localdomain (69-165-144-226.dsl.teksavvy.com [69.165.144.226]) by mx.google.com with ESMTPS id d8sm3918766icy.21.2011.07.01.18.47.47 (version=SSLv3 cipher=OTHER); Fri, 01 Jul 2011 18:47:48 -0700 (PDT) From: Arnaud Lacombe To: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Michal Marek Cc: Arnaud Lacombe Subject: [RFC 1/7] kconfig/Makefile: add pretty printer for moc(1) Date: Fri, 1 Jul 2011 21:47:33 -0400 Message-Id: <1309571259-15241-2-git-send-email-lacombar@gmail.com> X-Mailer: git-send-email 1.7.3.4.574.g608b.dirty In-Reply-To: <1309571259-15241-1-git-send-email-lacombar@gmail.com> References: <1307387767-9237-1-git-send-email-lacombar@gmail.com> <1309571259-15241-1-git-send-email-lacombar@gmail.com> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Sat, 02 Jul 2011 01:49:20 +0000 (UTC) --- scripts/kconfig/Makefile | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 84abb2f..ce46407 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -320,8 +320,11 @@ $(obj)/zconf.tab.o: $(obj)/lex.zconf.c $(obj)/zconf.hash.c $(obj)/qconf.o: $(obj)/qconf.moc +quiet_cmd_moc = MOC $@ +cmd_moc = $(KC_QT_MOC) -i $< -o $@ + $(obj)/%.moc: $(src)/%.h - $(KC_QT_MOC) -i $< -o $@ + $(call cmd,moc) # Extract gconf menu items for I18N support $(obj)/gconf.glade.h: $(obj)/gconf.glade