fix build bug

This commit is contained in:
Neucrack
2025-03-19 15:49:27 +08:00
parent 46dc7fca4d
commit c95e06e16b
2 changed files with 3 additions and 1 deletions

View File

@@ -69,6 +69,7 @@ def get_components_files(components, valid_components, kconfigs):
py_path = os.path.join(components[name], "component.py")
if not os.path.exists(py_path):
continue
print(f"-- get files for component {name} (component.py)")
found, files[name] = execute_component_py_func(py_path, "add_file_downloads", kconfigs)
if not found:
files[name] = []