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>
audit2-merge1
Leah Rowe 2024-05-25 00:22:34 +01:00 committed by Leah Rowe
parent c8c516703f
commit 698548ac59
1 changed files with 3 additions and 0 deletions

View File

@ -213,6 +213,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"