get_maintainer.pl: adapt to U-Boot tree
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 1 Aug 2014 00:24:10 +0000 (02:24 +0200)
committerTom Rini <trini@ti.com>
Sat, 9 Aug 2014 15:17:05 +0000 (11:17 -0400)
Switch core maintainer to Tom Rini. Adapt directory layout for
git tree detection.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
scripts/get_maintainer.pl

index 41987885bd31db413f484ada73556d90f59d9577..e62c4681546ecfc092a8b130198e0a252373c85d 100755 (executable)
@@ -61,9 +61,7 @@ my %commit_author_hash;
 my %commit_signer_hash;
 
 my @penguin_chief = ();
-push(@penguin_chief, "Linus Torvalds:torvalds\@linux-foundation.org");
-#Andrew wants in on most everything - 2009/01/14
-#push(@penguin_chief, "Andrew Morton:akpm\@linux-foundation.org");
+push(@penguin_chief, "Tom Rini:trini\@ti.com");
 
 my @penguin_chief_names = ();
 foreach my $chief (@penguin_chief) {
@@ -817,22 +815,25 @@ sub top_of_kernel_tree {
     if ($lk_path ne "" && substr($lk_path,length($lk_path)-1,1) ne "/") {
        $lk_path .= "/";
     }
-    if (   (-f "${lk_path}COPYING")
-       && (-f "${lk_path}CREDITS")
+    if (   (-f "${lk_path}CREDITS")
        && (-f "${lk_path}Kbuild")
        && (-f "${lk_path}MAINTAINERS")
        && (-f "${lk_path}Makefile")
        && (-f "${lk_path}README")
-       && (-d "${lk_path}Documentation")
        && (-d "${lk_path}arch")
-       && (-d "${lk_path}include")
+       && (-d "${lk_path}board")
+       && (-d "${lk_path}common")
+       && (-d "${lk_path}doc")
        && (-d "${lk_path}drivers")
+       && (-d "${lk_path}dts")
        && (-d "${lk_path}fs")
-       && (-d "${lk_path}init")
-       && (-d "${lk_path}ipc")
-       && (-d "${lk_path}kernel")
        && (-d "${lk_path}lib")
-       && (-d "${lk_path}scripts")) {
+       && (-d "${lk_path}include")
+       && (-d "${lk_path}net")
+       && (-d "${lk_path}post")
+       && (-d "${lk_path}scripts")
+       && (-d "${lk_path}test")
+       && (-d "${lk_path}tools")) {
        return 1;
     }
     return 0;