mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-22 17:55:57 +01:00
common: factor -j --nproc to all builds
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import multiprocessing
|
||||
import os
|
||||
import shutil
|
||||
|
||||
@@ -57,7 +56,7 @@ class LinuxComponent(common.Component):
|
||||
(
|
||||
[
|
||||
'make',
|
||||
'-j', str(multiprocessing.cpu_count()),
|
||||
'-j', str(args.nproc),
|
||||
] +
|
||||
common_make_args +
|
||||
[
|
||||
@@ -70,7 +69,7 @@ class LinuxComponent(common.Component):
|
||||
(
|
||||
[
|
||||
'make',
|
||||
'-j', str(multiprocessing.cpu_count()),
|
||||
'-j', str(args.nproc),
|
||||
] +
|
||||
common_make_args +
|
||||
verbose +
|
||||
|
||||
Reference in New Issue
Block a user