diff options
author | Simon Glass <sjg@chromium.org> | 2023-07-19 17:48:17 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-07-24 09:34:10 -0600 |
commit | 5df95cf197c7746d431cbada05c87e6e826d77be (patch) | |
tree | 8a5ed57c749478bb61e3ce3cf931c7fbf9946ce9 /tools/buildman/board.py | |
parent | bd4ed9f72feb597e7a5a600398aa2add42aa84a7 (diff) |
buildman: Add a partial test for ensure_board_list()
Create a new function which has the non-UI parts of ensure_board_list().
Add some tests for everything except the N: tag.
While we are here, fix the confusing usage of fname inside a loops that
also uses fname.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/board.py')
-rw-r--r-- | tools/buildman/board.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/buildman/board.py b/tools/buildman/board.py index 8ef905b8ce1..248d8bfff18 100644 --- a/tools/buildman/board.py +++ b/tools/buildman/board.py @@ -17,14 +17,14 @@ class Board: vendor: Name of vendor (e.g. armltd) board_name: Name of board (e.g. integrator) target: Target name (use make <target>_defconfig to configure) - cfg_name: Config name + cfg_name: Config-file name (in includes/configs/) """ self.target = target self.arch = arch self.cpu = cpu - self.board_name = board_name - self.vendor = vendor self.soc = soc + self.vendor = vendor + self.board_name = board_name self.cfg_name = cfg_name self.props = [self.target, self.arch, self.cpu, self.board_name, self.vendor, self.soc, self.cfg_name] |