Skip to content

Commit f37be38

Browse files
committed
add define of bsp
1 parent 61b2ef2 commit f37be38

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

tools/ci/bsp_buildings.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -344,17 +344,16 @@ def check_output(output, check_string):
344344
continue
345345

346346
config_file = os.path.join(rtt_root, 'bsp', bsp, '.config')
347-
347+
# 在使用 pre_build_commands 之前,确保它被定义
348+
pre_build_commands = None
349+
build_command = None
350+
post_build_command = None
351+
qemu_command = None
352+
build_check_result = None
353+
commands = None
354+
check_result = None
348355
for projects in yml_files_content:
349356
for name, details in projects.items():
350-
# 在使用 pre_build_commands 之前,确保它被定义
351-
pre_build_commands = None
352-
build_command = None
353-
post_build_command = None
354-
qemu_command = None
355-
build_check_result = None
356-
commands = None
357-
check_result = None
358357
# 如果是bsp_board_info,读取基本的信息
359358
if(name == 'bsp_board_info'):
360359
print(details)

0 commit comments

Comments
 (0)