From c5269007c9bdeb3acae945ed39001983367d5c51 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 6 May 2015 11:51:25 -0700 Subject: checkpatch: fix tree recognition With the recent rename of documentation -> Documentation, the checkpatch.pl script broke. Fix the tree check, and change the user visible output of "kernel" to coreboot. Change-Id: I34f538d4436e468b1c91eb36aa2f60a2a3308111 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/10125 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/lint/checkpatch.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'util') diff --git a/util/lint/checkpatch.pl b/util/lint/checkpatch.pl index c0d3d96b07..2f1f56cadd 100755 --- a/util/lint/checkpatch.pl +++ b/util/lint/checkpatch.pl @@ -57,7 +57,7 @@ Version: $V Options: -q, --quiet quiet - --no-tree run without a kernel tree + --no-tree run without a coreboot tree --no-signoff do not check for 'Signed-off-by' line --patch treat FILE as patchfile (default) --emacs emacs compile window format @@ -69,7 +69,7 @@ Options: --max-line-length=n set the maximum line length, if exceeded, warn --min-conf-desc-length=n set the min description length, if shorter, warn --show-types show the message "types" in the output - --root=PATH PATH to the kernel tree root + --root=PATH PATH to the coreboot tree root --no-summary suppress the per-file summary --mailback only produce a report in case of warnings/errors --summary-file include the filename in summary @@ -233,7 +233,7 @@ if ($tree) { } if (!defined $root) { - print "Must be run from the top-level dir. of a kernel tree\n"; + print "Must be run from the top-level dir. of a coreboot tree\n"; exit(2); } } @@ -700,7 +700,7 @@ sub top_of_kernel_tree { my @tree_check = ( "COPYING", "README", "Makefile", "Makefile.inc", - "src", "documentation", "util", "payloads", + "src", "Documentation", "util", "payloads", ); foreach my $check (@tree_check) { -- cgit v1.2.3