From patchwork Sun Mar 29 13:01:47 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 14974 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2TD2gqf020419 for ; Sun, 29 Mar 2009 13:02:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757509AbZC2NBx (ORCPT ); Sun, 29 Mar 2009 09:01:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757510AbZC2NBw (ORCPT ); Sun, 29 Mar 2009 09:01:52 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:59874 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757397AbZC2NBv (ORCPT ); Sun, 29 Mar 2009 09:01:51 -0400 Received: from octopus.hi.pengutronix.de ([2001:6f8:1178:2:215:17ff:fe12:23b0]) by metis.ext.pengutronix.de with esmtp (Exim 4.63) (envelope-from ) id 1Lnue5-0001pk-0X; Sun, 29 Mar 2009 15:01:49 +0200 Received: from ukl by octopus.hi.pengutronix.de with local (Exim 4.69) (envelope-from ) id 1Lnue3-00061Z-JH; Sun, 29 Mar 2009 15:01:47 +0200 From: =?utf-8?q?Uwe=20Kleine-K=C3=B6nig?= To: linux-kbuild@vger.kernel.org Cc: Vegard Nossum , Sam Ravnborg Subject: [PATCH] headerdep: fix option processing for -I Date: Sun, 29 Mar 2009 15:01:47 +0200 Message-Id: <1238331707-23129-1-git-send-email-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 1.6.2.1 To: linux-kbuild@vger.kernel.org MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:6f8:1178:2:215:17ff:fe12:23b0 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kbuild@vger.kernel.org Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org -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 Cc: Vegard Nossum Cc: Sam Ravnborg Acked-by: Vegard Nossum --- scripts/headerdep.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/headerdep.pl b/scripts/headerdep.pl index 97399da..536408e 100755 --- a/scripts/headerdep.pl +++ b/scripts/headerdep.pl @@ -19,7 +19,7 @@ my $opt_graph; version => \&version, all => \$opt_all, - I => \@opt_include, + "I:s" => \@opt_include, graph => \$opt_graph, );