summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergej Pupykin2019-06-28 18:24:43 +0300
committerSergej Pupykin2019-06-28 18:24:43 +0300
commit1d37529360339470409cb2a4eae2032a91e8a5c6 (patch)
tree268aa9fbbf550b7da8059373d68e8f01c9a2c481
parent899ca68e6695d90daa067e7c8d0dcbc1071b91dd (diff)
downloadaur-spi-config-dkms.tar.gz
upd
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--dkms.conf.in6
3 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 058806795ef..97510066340 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri Jun 28 14:43:50 UTC 2019
+# Fri Jun 28 15:24:40 UTC 2019
pkgbase = spi-config-dkms
pkgdesc = spi board configuration without having to recompile the kernel
pkgver = 20190628
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/msperl/spi-config
arch = i686
arch = x86_64
@@ -16,7 +16,7 @@ pkgbase = spi-config-dkms
source = git+https://github.com/msperl/spi-config.git
source = dkms.conf.in
md5sums = SKIP
- md5sums = 332867a6ee6f165c6d27004d16ea5f4c
+ md5sums = 797b68e988862d7c10bb8cfb2eeaa5e8
pkgname = spi-config-dkms
diff --git a/PKGBUILD b/PKGBUILD
index 18628bc35c3..2ed0437234a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=spi-config-dkms
pkgver=20190628
-pkgrel=1
+pkgrel=2
pkgdesc="spi board configuration without having to recompile the kernel"
license=('GPL')
arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@ url='https://github.com/msperl/spi-config'
source=("git+https://github.com/msperl/spi-config.git"
'dkms.conf.in')
md5sums=('SKIP'
- '332867a6ee6f165c6d27004d16ea5f4c')
+ '797b68e988862d7c10bb8cfb2eeaa5e8')
package() {
cd ${srcdir}/spi-config
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"