kbuild: fix option processing for -I in headerdep
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sun, 29 Mar 2009 13:01:47 +0000 (15:01 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 11 Apr 2009 06:18:07 +0000 (08:18 +0200)
-I takes an argument.  Without this change only a 1 is added to
@opt_include which is not helpful.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/headerdep.pl

index 97399da..b7f6c56 100755 (executable)
@@ -19,7 +19,7 @@ my $opt_graph;
        version => \&version,
 
        all     => \$opt_all,
-       I       => \@opt_include,
+       "I=s"   => \@opt_include,
        graph   => \$opt_graph,
 );