diff options
author | Tom Rini <trini@konsulko.com> | 2022-10-31 10:40:31 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-10-31 10:40:31 -0400 |
commit | 6f38d91158e7e4199753b79e0a25c1a65175aba4 (patch) | |
tree | 0ef14997a05c73d3d3a4640284d241d3e046ce4a /tools/buildman/boards.py | |
parent | 218e2c45af83f2cb7b1374b9023b4ced6eb0bb77 (diff) | |
parent | 21545a8cbf9ef3c47a1a8c347ad31e759b00b0c7 (diff) |
Merge branch '2022-10-31-broadcom-updates'
- Update / add a large number of Broadcom BCA SoCs.
Diffstat (limited to 'tools/buildman/boards.py')
-rw-r--r-- | tools/buildman/boards.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/buildman/boards.py b/tools/buildman/boards.py index cdc4d9ffd27..0bb0723b18e 100644 --- a/tools/buildman/boards.py +++ b/tools/buildman/boards.py @@ -368,6 +368,17 @@ class MaintainersDatabase: targets.append(front) elif tag == 'S:': status = rest + elif tag == 'N:': + # Just scan the configs directory since that's all we care + # about + for dirpath, _, fnames in os.walk('configs'): + for fname in fnames: + path = os.path.join(dirpath, fname) + front, match, rear = path.partition('configs/') + if not front and match: + front, match, rear = rear.rpartition('_defconfig') + if match and not rear: + targets.append(front) elif line == '\n': for target in targets: self.database[target] = (status, maintainers) |