summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-28 19:57:35 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-28 19:57:35 +0100
commit4488745cb698781c9770a2db8bc71bb74d84f29a (patch)
tree533efe2daf605528dce0d95a38e0cdac3cb04a78 /script
parent7d50e09feabb06a664d839f832a91e832c1dacfc (diff)
trees: use CPUS=x on regular coreboot make
i already do this on crossgcc, but overlooked it on regular builds where i just use -j, but coreboot's build system makes use of the CPUS= option in make use XBMK_THREADS for this Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/trees2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/trees b/script/trees
index 6eeac8f1..80037bd8 100755
--- a/script/trees
+++ b/script/trees
@@ -200,7 +200,7 @@ run_make_command()
[ "$project" = "coreboot" ] && [ -z "$mode" ] && x_ \
printf "%s\n" "${version%%-*}" > "$cdir/.coreboot-version" \
- && makeargs="$makeargs UPDATED_SUBMODULES=1"
+ && makeargs="$makeargs UPDATED_SUBMODULES=1 CPUS=$threads"
make -C "$cdir" $mode -j$threads $makeargs || $err "!mk $cdir $mode"