aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/streamline_config.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/streamline_config.pl')
-rw-r--r--scripts/kconfig/streamline_config.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index 2f8bde809711..c70a27d924f0 100644
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -115,7 +115,9 @@ my $ksource = $ARGV[0];
115my $kconfig = $ARGV[1]; 115my $kconfig = $ARGV[1];
116my $lsmod_file = $ARGV[2]; 116my $lsmod_file = $ARGV[2];
117 117
118my @makefiles = `find $ksource -name Makefile`; 118my @makefiles = `find $ksource -name Makefile 2>/dev/null`;
119chomp @makefiles;
120
119my %depends; 121my %depends;
120my %selects; 122my %selects;
121my %prompts; 123my %prompts;
@@ -215,7 +217,6 @@ if ($kconfig) {
215 217
216# Read all Makefiles to map the configs to the objects 218# Read all Makefiles to map the configs to the objects
217foreach my $makefile (@makefiles) { 219foreach my $makefile (@makefiles) {
218 chomp $makefile;
219 220
220 open(MIN,$makefile) || die "Can't open $makefile"; 221 open(MIN,$makefile) || die "Can't open $makefile";
221 while (<MIN>) { 222 while (<MIN>) {