From patchwork Fri May 28 14:43:26 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Rostedt X-Patchwork-Id: 102903 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4SElpwM020853 for ; Fri, 28 May 2010 14:47:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758423Ab0E1Orv (ORCPT ); Fri, 28 May 2010 10:47:51 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:56543 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758329Ab0E1Oru (ORCPT ); Fri, 28 May 2010 10:47:50 -0400 X-Authority-Analysis: v=1.1 cv=EbJB9AiBqsyZPMVATYsj78CfMiBiOs+4P7kRKNQkfg0= c=1 sm=0 a=4dLDkoCVgUEA:10 a=ygRHs6EKU7oA:10 a=GzHTLUccyWwA:10 a=gMqfjgEr1zLu/65IO0LwxA==:17 a=meVymXHHAAAA:8 a=qzYJKMEbIQTmfYeDZ3wA:9 a=81zeFieRFidKeBGGXgVebe04j0QA:4 a=_RhRFcbxBZMA:10 a=jeBq3FmKZ4MA:10 a=gMqfjgEr1zLu/65IO0LwxA==:117 X-Cloudmark-Score: 0 X-Originating-IP: 74.67.89.75 Received: from [74.67.89.75] ([74.67.89.75:56793] helo=gandalf.stny.rr.com) by hrndva-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id E5/21-27594-597DFFB4; Fri, 28 May 2010 14:47:50 +0000 Received: from rostedt by gandalf.stny.rr.com with local (Exim 4.71) (envelope-from ) id 1OI0qj-0005yy-L6; Fri, 28 May 2010 10:47:49 -0400 Message-Id: <20100528144749.537275730@goodmis.org> User-Agent: quilt/0.48-1 Date: Fri, 28 May 2010 10:43:26 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Linus Torvalds , Andrew Morton , linux-kbuild@vger.kernel.org, Toralf Foerster Subject: [PATCH 3/3] [PATCH 3/3] kconfig: Hide error output in find command in streamline_config.pl References: <20100528144323.232583082@goodmis.org> Content-Disposition: inline; filename=0003-kconfig-Hide-error-output-in-find-command-in-streaml.patch 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.3 (demeter.kernel.org [140.211.167.41]); Fri, 28 May 2010 14:47:52 +0000 (UTC) diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index 2f8bde8..c70a27d 100644 --- a/scripts/kconfig/streamline_config.pl +++ b/scripts/kconfig/streamline_config.pl @@ -115,7 +115,9 @@ my $ksource = $ARGV[0]; my $kconfig = $ARGV[1]; my $lsmod_file = $ARGV[2]; -my @makefiles = `find $ksource -name Makefile`; +my @makefiles = `find $ksource -name Makefile 2>/dev/null`; +chomp @makefiles; + my %depends; my %selects; my %prompts; @@ -215,7 +217,6 @@ if ($kconfig) { # Read all Makefiles to map the configs to the objects foreach my $makefile (@makefiles) { - chomp $makefile; open(MIN,$makefile) || die "Can't open $makefile"; while () {