From e1ccbbcade9d5f8863a0293761461824fc146519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20Gr=C3=B8n=C3=A5s?= Date: Fri, 6 Mar 2026 14:31:08 +0100 Subject: [PATCH] Pass NV_EXCLUDE_KERNEL_MODULES to dkms make --- kernel-open/dkms.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-open/dkms.conf b/kernel-open/dkms.conf index aef54d352b..276c611766 100644 --- a/kernel-open/dkms.conf +++ b/kernel-open/dkms.conf @@ -6,7 +6,7 @@ AUTOINSTALL="yes" # 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__JOBS NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} modules" +MAKE[0]="'make' -j__JOBS NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' NV_EXCLUDE_KERNEL_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} modules" # The list of kernel modules will be generated by nvidia-installer at runtime. __DKMS_MODULES