diff options
author | Leah Rowe <leah@libreboot.org> | 2023-10-20 07:50:47 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-10-20 07:50:47 +0100 |
commit | 54eb347a300c45f8c6c846ed96398c29a0db52a2 (patch) | |
tree | 189892f68a98d9f19c4d37a682b2703e8ae342f9 /config/git/u-boot | |
parent | f855611c99bb8a4291de637c56a9e47a581a2f9a (diff) |
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>
Diffstat (limited to 'config/git/u-boot')
0 files changed, 0 insertions, 0 deletions