kconfig: recalc symbol value before showing search results
[safe/jmp/linux-2.6] / scripts / headerdep.pl
index 97399da..8dd019b 100755 (executable)
@@ -19,7 +19,7 @@ my $opt_graph;
        version => \&version,
 
        all     => \$opt_all,
-       I       => \@opt_include,
+       "I=s"   => \@opt_include,
        graph   => \$opt_graph,
 );
 
@@ -80,8 +80,7 @@ sub search {
                my $path = "$i/$filename";
                return $path if -f $path;
        }
-
-       return undef;
+       return;
 }
 
 sub parse_all {