summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-08-27 11:34:24 +0100
committerLeah Rowe <leah@libreboot.org>2023-08-27 11:34:24 +0100
commit197464bc4b4869c2504c0e4dd59873529e2f3064 (patch)
tree546ec44587e07f764083c6554d96505f6c2a56d7
parent95f290d9e305f80c1b29574446bf8a010f732f80 (diff)
build/src/for: use -j for multithreaded builds
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xresources/scripts/build/src/for2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/scripts/build/src/for b/resources/scripts/build/src/for
index fd7f84f3..855ea1c4 100755
--- a/resources/scripts/build/src/for
+++ b/resources/scripts/build/src/for
@@ -69,7 +69,7 @@ handle_dependencies()
run_make_command()
{
if [ -z "${mode}" ]; then
- make -C "${project}" || \
+ make -C "${project}" -j$(nproc) || \
err "run_make_command: !make -C ${project}"
else
make -C "${project}" distclean || make -C "${project}" clean \