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 <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-05-30 07:50:58 +01:00
parent 13d4b6d3c7
commit 17a9d11da1
1 changed files with 0 additions and 3 deletions

View File

@ -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()