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 <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/10125 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
69b88bf127
commit
c5269007c9
|
@ -57,7 +57,7 @@ Version: $V
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-q, --quiet quiet
|
-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
|
--no-signoff do not check for 'Signed-off-by' line
|
||||||
--patch treat FILE as patchfile (default)
|
--patch treat FILE as patchfile (default)
|
||||||
--emacs emacs compile window format
|
--emacs emacs compile window format
|
||||||
|
@ -69,7 +69,7 @@ Options:
|
||||||
--max-line-length=n set the maximum line length, if exceeded, warn
|
--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
|
--min-conf-desc-length=n set the min description length, if shorter, warn
|
||||||
--show-types show the message "types" in the output
|
--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
|
--no-summary suppress the per-file summary
|
||||||
--mailback only produce a report in case of warnings/errors
|
--mailback only produce a report in case of warnings/errors
|
||||||
--summary-file include the filename in summary
|
--summary-file include the filename in summary
|
||||||
|
@ -233,7 +233,7 @@ if ($tree) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!defined $root) {
|
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);
|
exit(2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -700,7 +700,7 @@ sub top_of_kernel_tree {
|
||||||
|
|
||||||
my @tree_check = (
|
my @tree_check = (
|
||||||
"COPYING", "README", "Makefile", "Makefile.inc",
|
"COPYING", "README", "Makefile", "Makefile.inc",
|
||||||
"src", "documentation", "util", "payloads",
|
"src", "Documentation", "util", "payloads",
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach my $check (@tree_check) {
|
foreach my $check (@tree_check) {
|
||||||
|
|
Loading…
Reference in New Issue