summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Belisko <marek.belisko@open-nandra.com>2010-11-26 21:23:58 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2010-11-29 21:56:05 +0100
commit4a7f56056d6aa12a0449f03eb038e4d2bf7fdd49 (patch)
tree80ecbc06f637c547364161eff4baf666c860295e
parent8beaec022e7e33b57564660e78ef0f9846ac04cf (diff)
downloadbarebox-4a7f56056d6aa12a0449f03eb038e4d2bf7fdd49.tar.gz
barebox-4a7f56056d6aa12a0449f03eb038e4d2bf7fdd49.tar.xz
scripts: Adapt checkpatch.pl for barebox.
Add directories from root of barebox to top_of_kernel_tree() function for usage of script without additional parameters. Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rwxr-xr-xscripts/checkpatch.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index e3c7fc0dca..151c53a464 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -328,9 +328,9 @@ sub top_of_kernel_tree {
my ($root) = @_;
my @tree_check = (
- "COPYING", "CREDITS", "Kbuild", "MAINTAINERS", "Makefile",
- "README", "Documentation", "arch", "include", "drivers",
- "fs", "init", "ipc", "kernel", "lib", "scripts",
+ "arch", "commands", "common", "COPYING", "CREDITS", "defaultenv",
+ "Documentation", "Doxyfile", "drivers", "fs", "include", "lib",
+ "MAKEALL", "Makefile", "net", "README", "scripts", "TODO"
);
foreach my $check (@tree_check) {