From 81fea874b58d58398c98a61d93b33c16b58228f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toralf=20F=C3=B6rster?= Date: Wed, 26 May 2010 20:22:02 +0200 Subject: [PATCH] --- yaml --- r: 199421 b: refs/heads/master c: 17431928194b36a0f88082df875e2e036da7fddf h: refs/heads/master i: 199419: 89ca0555a3802b11321c8c5c8bb235fec836c712 v: v3 --- [refs] | 2 +- trunk/scripts/kconfig/streamline_config.pl | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index c211d4549ec5..dce400275b1d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1d1d1feafd5d42e9e1312d42973e661582e51704 +refs/heads/master: 17431928194b36a0f88082df875e2e036da7fddf diff --git a/trunk/scripts/kconfig/streamline_config.pl b/trunk/scripts/kconfig/streamline_config.pl index 2f8bde809711..c70a27d924f0 100644 --- a/trunk/scripts/kconfig/streamline_config.pl +++ b/trunk/scripts/kconfig/streamline_config.pl @@ -115,7 +115,9 @@ sub find_config { 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 @@ sub read_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 () {