summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-25 00:22:34 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-25 00:22:34 +0100
commit0a50eaf2277c95d80c22d64de7a0ec76329ebb03 (patch)
tree6f7aedb4f1d084251a63af9f277b003738768ff2
parentff0840bdf8c85d48029bd4a63504f393d2dd6854 (diff)
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>
-rwxr-xr-xscript/trees3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/trees b/script/trees
index dba3e0f7..b01a6c39 100755
--- a/script/trees
+++ b/script/trees
@@ -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"