From 2887b77ae4a2c85c9ae144bd475aed359a7416ad Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 28 May 2024 19:57:35 +0100 Subject: [PATCH] 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 --- script/trees | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/trees b/script/trees index 2438f99..0b2ba95 100755 --- a/script/trees +++ b/script/trees @@ -198,7 +198,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"