summarylogtreecommitdiffstats
path: root/dkms.conf
diff options
context:
space:
mode:
Diffstat (limited to 'dkms.conf')
-rw-r--r--dkms.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/dkms.conf b/dkms.conf
index ffcd6229093..0ed03516825 100644
--- a/dkms.conf
+++ b/dkms.conf
@@ -3,7 +3,7 @@ PACKAGE_VERSION="@PKGVER@"
#MAKE[0]="make --uname_r=$kernelver"
# only do make, DKMS will take care of "install"
# rename the file while copying to name of package :)
-MAKE[0]="make && cp os/linux/rt5592sta.ko ./@_PKGBASE@.ko"
+MAKE[0]="make KERN_VER=$kernelver && cp os/linux/rt5592sta.ko ./@_PKGBASE@.ko"
CLEAN="make clean"
BUILT_MODULE_NAME[0]="@_PKGBASE@"
DEST_MODULE_LOCATION[0]="/kernel/drivers/misc"