Skip to content

Commit 81e95d9

Browse files
marc-hblgirdwood
authored andcommitted
xtensa-build-zephyr.py: do not update SOF submodules after west init
This script is run from an existing SOF repo that is assumed to be fully initialized. Updating existing submodules is a potentially destructive operation. Signed-off-by: Marc Herbert <marc.herbert@intel.com> (cherry picked from commit 0ee59c3)
1 parent b1e4999 commit 81e95d9

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

scripts/xtensa-build-zephyr.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,6 @@ def show_installed_files():
223223
for pre, fill, node in RenderTree(graph_root):
224224
print(f"{pre}{node.name}")
225225

226-
def git_submodules_update():
227-
global SOF_TOP
228-
execute_command(["git", "submodule", "update", "--init", "--recursive"], timeout=600,
229-
check=True, cwd=SOF_TOP)
230-
231226
def check_west_installation():
232227
west_path = shutil.which("west")
233228
if not west_path:
@@ -419,7 +414,6 @@ def run_clone_mode():
419414
raise RuntimeError("Zephyr found already! Not downloading it again")
420415
create_zephyr_directory()
421416
west_init_update()
422-
git_submodules_update()
423417

424418
def run_point_mode():
425419
global west_top, SOF_TOP

0 commit comments

Comments
 (0)