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>
20240612_branch
Leah Rowe 2024-05-28 19:57:35 +01:00
parent 7d50e09fea
commit 4488745cb6
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ run_make_command()
[ "$project" = "coreboot" ] && [ -z "$mode" ] && x_ \ [ "$project" = "coreboot" ] && [ -z "$mode" ] && x_ \
printf "%s\n" "${version%%-*}" > "$cdir/.coreboot-version" \ 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" make -C "$cdir" $mode -j$threads $makeargs || $err "!mk $cdir $mode"