From 17a9d11da1f7a13664c77b18aec022c1d657fa66 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 30 May 2024 07:50:58 +0100 Subject: git.sh: do not remove .submodules the reason for it is because sometimes the coreboot build system auto-downloads submodules which we don't want. however, we now pass UPDATED_SUBMODULES=1 in make, which disables this behaviour in coreboot's build system. therefore, remove this unnecessary logic. Signed-off-by: Leah Rowe --- include/git.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/git.sh b/include/git.sh index 3052d5b4..e7fe28b5 100755 --- a/include/git.sh +++ b/include/git.sh @@ -120,9 +120,6 @@ prep_submodules() fetch_submodule "$msrcdir" patch_submodule "$msrcdir" done < "$tmpdir/modules" - - # some build systems may download more (we want to control it) - rm -f "$tmpgit/.gitmodules" || $err "!rm .gitmodules as per: $mdir" } fetch_submodule() -- cgit v1.2.1