[PATCH 2/2] scripts: Adapt checkpatch.pl for barebox.

Marek Belisko marek.belisko at open-nandra.com
Fri Nov 26 15:23:58 EST 2010


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 at open-nandra.com>
---
 scripts/checkpatch.pl |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index e3c7fc0..151c53a 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) {
-- 
1.7.1




More information about the barebox mailing list