Skip to content

Commit 8ad1c7d

Browse files
committed
[KB] make modules run with -j nproc
1 parent 630f97a commit 8ad1c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ echo "[TIMER]{BUILD}: $(( $END_BUILD - $START_BUILD ))s"
6767

6868
echo "Making Modules"
6969
START_MODULES=$(date +%s)
70-
sudo INSTALL_MOD_STRIP=1 make modules_install
70+
sudo INSTALL_MOD_STRIP=1 make -j$(nproc) modules_install
7171
if [ $? -ne 0 ]; then
7272
echo "Error: Modules install failed"
7373
echo "[TIMER]{MODULES} $(( $(date +%s) - $START_MODULES ))s"

0 commit comments

Comments
 (0)