summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-30 07:50:58 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-30 07:50:58 +0100
commit17a9d11da1f7a13664c77b18aec022c1d657fa66 (patch)
tree72da6821a27193dee5ae2d59692c08d4484ac157 /include
parent13d4b6d3c7378237278279ab43b47a62a7626f65 (diff)
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>
Diffstat (limited to 'include')
-rwxr-xr-xinclude/git.sh3
1 files changed, 0 insertions, 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()