summarylogtreecommitdiffstats
path: root/120-nvidia-linux-rt-gift.patch
diff options
context:
space:
mode:
Diffstat (limited to '120-nvidia-linux-rt-gift.patch')
-rw-r--r--120-nvidia-linux-rt-gift.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/120-nvidia-linux-rt-gift.patch b/120-nvidia-linux-rt-gift.patch
index cd109590dc23..970869c67974 100644
--- a/120-nvidia-linux-rt-gift.patch
+++ b/120-nvidia-linux-rt-gift.patch
@@ -4,8 +4,8 @@
# this will cause the kernel module build to infer that it was invoked via
# Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
# the 'make' command name to suppress this behavior.
--MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} IGNORE_CC_MISMATCH='__IGNORE_CC_MISMATCH' modules"
-+MAKE[0]="'make' -j`nproc` IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} IGNORE_CC_MISMATCH='__IGNORE_CC_MISMATCH' modules"
+-MAKE[0]="'make' -j"$(nproc)" NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} modules"
++MAKE[0]="'make' -j"$(nproc)" IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} modules"
# The list of kernel modules will be generated by nvidia-installer at runtime.
BUILT_MODULE_NAME[0]="nvidia"