aboutsummaryrefslogtreecommitdiff
path: root/tools/buildman/control.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-07-11 19:04:03 -0600
committerTom Rini <trini@konsulko.com>2022-08-05 11:47:56 -0400
commitc52bd22539f3bb009f73cc1608b155813f7e48a0 (patch)
tree6ca2c6f4e736db8fd8bedabf329efc9c15c4d56a /tools/buildman/control.py
parent6014db68d39cd2b0760c50093b6529d7ebf9afe8 (diff)
buildman: Split out Boards into its own file
Use a separate file for the Boards class so that its name matches the module name. Fix up the function names to match the pylint style and fix some other warnings. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/control.py')
-rw-r--r--tools/buildman/control.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildman/control.py b/tools/buildman/control.py
index a5c1c2e51c..8d3e781d51 100644
--- a/tools/buildman/control.py
+++ b/tools/buildman/control.py
@@ -8,7 +8,7 @@ import shutil
import subprocess
import sys
-from buildman import board
+from buildman import boards
from buildman import bsettings
from buildman import cfgutil
from buildman import toolchain
@@ -197,7 +197,7 @@ def DoBuildman(options, args, toolchains=None, make_func=None, brds=None,
if status != 0:
sys.exit("Failed to generate boards.cfg")
- brds = board.Boards()
+ brds = boards.Boards()
brds.read_boards(board_file)
exclude = []