diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-03-08 14:35:06 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-03-08 14:35:06 +0100 |
commit | 70aab572f4199391fd514a9e1a64af8b1a3b8324 (patch) | |
tree | 3ee9783fcc9e7cb51b121eed400071f3cadf9116 /misc | |
parent | eec7e74d2eccf811f0d25bb40fa514dc47655d67 (diff) | |
parent | c3704e0faf9159a097a7d6109bec223fdcc46f19 (diff) | |
download | pcitool-70aab572f4199391fd514a9e1a64af8b1a3b8324.tar.gz pcitool-70aab572f4199391fd514a9e1a64af8b1a3b8324.tar.bz2 pcitool-70aab572f4199391fd514a9e1a64af8b1a3b8324.tar.xz pcitool-70aab572f4199391fd514a9e1a64af8b1a3b8324.zip |
Fix dkms configuration
Diffstat (limited to 'misc')
-rw-r--r-- | misc/dkms-postbuild.sh | 3 | ||||
-rw-r--r-- | misc/dkms.conf.in | 4 |
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/ |