tools/genboardscfg.py: Make 'Supported' as known status
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 10 May 2017 10:49:52 +0000 (16:19 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 12:37:36 +0000 (08:37 -0400)
As per MAINTAINERS[1] file description, 'Supported' is
a valid status for a board. But buildman thinks 'Maintained'
is the only valid state and complains about boards with 'Supported'
status. Update buildman to accept 'Supported' as valid state.

[1] http://git.denx.de/?p=u-boot.git;a=blob;f=MAINTAINERS;h=0962b47bf9057b22e93624e070c0204b893790dc;hb=HEAD#l10

Reported-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/genboardscfg.py

index c2efad55ab4609ed17c006551b2dd0ce6eee3c1e..2e871feaf4fa76948aaf80ba7f55bc40a2e10da6 100755 (executable)
@@ -294,6 +294,8 @@ class MaintainersDatabase:
         tmp = self.database[target][0]
         if tmp.startswith('Maintained'):
             return 'Active'
+        elif tmp.startswith('Supported'):
+            return 'Active'
         elif tmp.startswith('Orphan'):
             return 'Orphan'
         else: