summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 0b86287..f4cba51 100755
--- a/build.sh
+++ b/build.sh
@@ -17,7 +17,7 @@ if [ "$2" != "" ]; then
echo "appending 'KERNELRELEASE=$2'" | sed 's/^/--> /g'
fi
-make KERNELRELEASE="$2" -j16 | sed 's/^/--> /g'
+make KERNELRELEASE="$2" -j`nproc` | sed 's/^/--> /g'
if [ "$?" != "0" ]; then
echo "MAKE FAIL []"