lbmk/include
Leah Rowe 54eb347a30 include/git: fetch submodules on one-tree projects
only fetch if .gitmodules exists

in some cases, lbmk is compiling source trees that
use submodules, without having downloaded them first.

in all cases, those submodules are either optional,
or the build system auto-fetches them (or if it can,
we sometimes disable it as with grub and gnulib).

this is a nice fallback behaviour, for situations where
we forget to put submodules as dependencies under
config/git (and disable submodules in the given project).

with this change, release archives are guaranteed to
be complete, sans crossgcc downloads in coreboot; this
will be handled in a follow-up commit.

Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-10-20 07:50:47 +01:00
..
err.sh x/xx: slightly more verbose error messages 2023-10-14 09:01:58 +01:00
git.sh include/git: fetch submodules on one-tree projects 2023-10-20 07:50:47 +01:00
mrc.sh minor code cleanup in shell scripts 2023-10-19 23:36:56 +01:00
option.sh error handling code cleanup and fixes 2023-10-20 05:03:16 +01:00