summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-09-16 14:11:49 +0900
committerTom Rini <trini@ti.com>2014-09-24 18:30:28 -0400
commit5dff844d7ff1704534905db9beb888f5552adb84 (patch)
treec8e9c8bfa10d739639a8c3f621f2041c6dd239b0 /tools
parent129acd4c75f85bdb7f1267fe5f1187e0fc37d221 (diff)
downloadu-boot-imx-5dff844d7ff1704534905db9beb888f5552adb84.zip
u-boot-imx-5dff844d7ff1704534905db9beb888f5552adb84.tar.gz
u-boot-imx-5dff844d7ff1704534905db9beb888f5552adb84.tar.bz2
tools/genboardscfg.py: pick up also commented maitainers
We are still keeping invalid email addressed in MAINTAINERS because they carry information. The problem is that scripts/get_maintainer.pl adds emails in the "M:" field including invalid ones. We want to comment out invalid email addresses in MAINTAINERS to prevent scripts/get_maintainer.pl from picking them up. On the other hand, we want to collect them for boards.cfg to know the last known maintainer of each board. This commit adjusts tools/genboardscfg.py to parse also the commented "M:" fields, which is useful for the next commit. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genboardscfg.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py
index 654100b..23c956b 100755
--- a/tools/genboardscfg.py
+++ b/tools/genboardscfg.py
@@ -328,6 +328,9 @@ class MaintainersDatabase:
maintainers = []
status = '-'
for line in open(file):
+ # Check also commented maintainers
+ if line[:3] == '#M:':
+ line = line[1:]
tag, rest = line[:2], line[2:].strip()
if tag == 'M:':
maintainers.append(rest)