summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/dkms-postbuild.sh3
-rw-r--r--misc/dkms.conf.in4
2 files changed, 5 insertions, 2 deletions
diff --git a/misc/dkms-postbuild.sh b/misc/dkms-postbuild.sh
new file mode 100644
index 0000000..ae73c1a
--- /dev/null
+++ b/misc/dkms-postbuild.sh
@@ -0,0 +1,3 @@
+#! /bin/bash
+
+make -C driver/ install_symvers KERNELVER=$kernelver KERNELDIR=$kernel_source_dir
diff --git a/misc/dkms.conf.in b/misc/dkms.conf.in
index 2e647a9..8b48180 100644
--- a/misc/dkms.conf.in
+++ b/misc/dkms.conf.in
@@ -1,5 +1,5 @@
-POST_INSTALL="make -C driver/ install_symvers KERNELVER=$kernelver KERNELDIR=$kernel_source_dir"
-MAKE="make -C driver/ KERNELDIR=/lib/modules/${kernelver}/build"
+POST_BUILD="dkms-postbuild.sh"
+MAKE="make -C driver/ KERNELDIR=/lib/modules/$kernelver/build"
CLEAN="make -C driver/ clean"
BUILT_MODULE_NAME=pciDriver
BUILT_MODULE_LOCATION=driver/