From c3704e0faf9159a097a7d6109bec223fdcc46f19 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 6 Mar 2016 04:22:51 +0100 Subject: Fix dkms configuration --- misc/dkms-postbuild.sh | 3 +++ misc/dkms.conf.in | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 misc/dkms-postbuild.sh (limited to 'misc') 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/ -- cgit v1.2.3