summarylogtreecommitdiffstats
path: root/dkms.conf.in
diff options
context:
space:
mode:
authorSergej Pupykin2019-06-28 18:24:43 +0300
committerSergej Pupykin2019-06-28 18:24:43 +0300
commit1d37529360339470409cb2a4eae2032a91e8a5c6 (patch)
tree268aa9fbbf550b7da8059373d68e8f01c9a2c481 /dkms.conf.in
parent899ca68e6695d90daa067e7c8d0dcbc1071b91dd (diff)
downloadaur-spi-config-dkms.tar.gz
upd
Diffstat (limited to 'dkms.conf.in')
-rw-r--r--dkms.conf.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/dkms.conf.in b/dkms.conf.in
index b9cdc80eab5..bf40c2d535d 100644
--- a/dkms.conf.in
+++ b/dkms.conf.in
@@ -1,7 +1,9 @@
PACKAGE_NAME="spi-config"
PACKAGE_VERSION="#MODULE_VERSION#"
-MAKE[0]="make KVERSION=$kernelver BUILD_KERNEL=$kernelver"
-CLEAN="make clean"
+
+MAKE[0]="make -C ${kernel_source_dir} SUBDIRS=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build modules"
+CLEAN="make -C ${kernel_source_dir} SUBDIRS=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean"
+
BUILT_MODULE_NAME[0]="spi-config"
DEST_MODULE_LOCATION[0]="/extramodules"
AUTOINSTALL="yes"