doc: _scripts: boards: fix condition for revision
Revision might be `0` so update the condition to not inadvertently exclude boards with such revision number. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
7d1e98db70
commit
38b87905ba
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ def gather_board_devicetrees(twister_out_dir):
|
||||||
revision = board_info.get('revision', '')
|
revision = board_info.get('revision', '')
|
||||||
|
|
||||||
board_target = board_name
|
board_target = board_name
|
||||||
if revision:
|
if revision is not None:
|
||||||
board_target = f"{board_target}@{revision}"
|
board_target = f"{board_target}@{revision}"
|
||||||
if qualifier:
|
if qualifier:
|
||||||
board_target = f"{board_target}/{qualifier}"
|
board_target = f"{board_target}/{qualifier}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue