From abb12f81f2f1e3c1a96296041e280343cdefc6a7 Mon Sep 17 00:00:00 2001 From: Mikhail Kobuk Date: Fri, 19 Apr 2024 16:48:35 +0300 Subject: removed hardcoded threads value -> get it from nproc --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.sh') 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 []" -- cgit v1.2.3