summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/module/bucts
diff options
context:
space:
mode:
authorKlemens Nanni <klemens@posteo.de>2015-08-16 12:01:21 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-08-16 12:05:34 (EDT)
commit094dcb6907373bb62165bee33311419600d8a4cc (patch)
tree294c5f128d4882f755eae277ac255749a5f16980 /resources/scripts/helpers/build/module/bucts
parent5016e9e0c6dd30fb49e50b698fc857f15aae6de7 (diff)
downloadlibreboot-094dcb6907373bb62165bee33311419600d8a4cc.zip
libreboot-094dcb6907373bb62165bee33311419600d8a4cc.tar.gz
libreboot-094dcb6907373bb62165bee33311419600d8a4cc.tar.bz2
scripts: use the -j option in make (multithreaded compilation)
Diffstat (limited to 'resources/scripts/helpers/build/module/bucts')
-rwxr-xr-xresources/scripts/helpers/build/module/bucts3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/module/bucts b/resources/scripts/helpers/build/module/bucts
index 8f2a49a..08ed951 100755
--- a/resources/scripts/helpers/build/module/bucts
+++ b/resources/scripts/helpers/build/module/bucts
@@ -3,6 +3,7 @@
# helper script: builds bucts source code
#
# Copyright (C) 2014, 2015 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -43,7 +44,7 @@ if [ "${buildtype}" = "static" ]; then
fi
make clean
-make
+make -j$(nproc)
if [ "${buildtype}" = "static" ]; then
patch "Makefile" -R < "../resources/bucts/patch/staticlink.diff"