trees: add UPDATED_SUBMODULES to coreboot make

we do not want submodules to be downloaded after the fact.

we only handle this on ./update trees -f coreboot

Signed-off-by: Leah Rowe <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-05-25 00:22:34 +01:00
parent ff0840bdf8
commit 0a50eaf227
1 changed files with 3 additions and 0 deletions

View File

@ -215,6 +215,9 @@ run_make_command()
[ "$project" = "coreboot" ] && [ -z "$mode" ] && x_ \
printf "%s\n" "${version%%-*}" > "$codedir/.coreboot-version"
[ "$project" = "coreboot" ] && \
makeargs="$makeargs UPDATED_SUBMODULES=1"
make -C "$codedir" $mode -j$threads $makeargs || \
$err "run_make $codedir: !make $mode"