aboutsummaryrefslogtreecommitdiff
path: root/dkms.conf
diff options
context:
space:
mode:
Diffstat (limited to 'dkms.conf')
-rw-r--r--dkms.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/dkms.conf b/dkms.conf
index d69a100..e634a52 100644
--- a/dkms.conf
+++ b/dkms.conf
@@ -6,7 +6,8 @@ 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'"
+MAKE[0]="'make' KDIR=\"$kernel_source_dir\""
+CLEAN[0]="'make' KDIR=\"$kernel_source_dir\" clean"
# The list of kernel modules.
#__DKMS_MODULES