summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzebulon2017-12-15 14:35:42 +0000
committerzebulon2017-12-15 14:35:42 +0000
commitb6c4d9fe6357759074a6c9f95496b597f04b9fd4 (patch)
treede2d9d8d9642407d7817502660e0f7461cfc18e4
parent2637703b12dc56a2313c5b07e94a1e3db7f8c6cf (diff)
downloadaur-b6c4d9fe6357759074a6c9f95496b597f04b9fd4.tar.gz
new dkms with parallel make support
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--dkms.conf13
3 files changed, 12 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5ebf1ff3106..282c634216c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = rtl8814au-dkms-git
pkgdesc = RTL8814AU and RTL8813AU chipset driver with firmware v4.3.21
pkgver = 4.3.21.r19.gb6b6d56
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/zebulon2/rtl8814au
arch = i686
arch = x86_64
@@ -13,7 +13,7 @@ pkgbase = rtl8814au-dkms-git
source = git+https://github.com/zebulon2/rtl8814au.git
source = dkms.conf
sha256sums = SKIP
- sha256sums = c502336101fb2a1e3753836392f4eaecdee246c1bdc8af207b4ee154e6c1a631
+ sha256sums = 36203d04d3ff9e4f117389a24257f608570c418bf4b93fba1b4efd41eb36229a
pkgname = rtl8814au-dkms-git
diff --git a/PKGBUILD b/PKGBUILD
index 7babbc9c504..70ddf0c7d03 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=rtl8814au-dkms-git
_pkgbase=rtl8814au
pkgver=4.3.21.r19.gb6b6d56
-pkgrel=1
+pkgrel=2
pkgdesc="RTL8814AU and RTL8813AU chipset driver with firmware v4.3.21"
arch=('i686' 'x86_64')
url="https://github.com/zebulon2/rtl8814au"
@@ -15,7 +15,7 @@ conflicts=("${_pkgbase}")
source=("git+https://github.com/zebulon2/rtl8814au.git"
'dkms.conf')
sha256sums=('SKIP'
- 'c502336101fb2a1e3753836392f4eaecdee246c1bdc8af207b4ee154e6c1a631')
+ '36203d04d3ff9e4f117389a24257f608570c418bf4b93fba1b4efd41eb36229a')
pkgver() {
cd ${srcdir}/rtl8814au
diff --git a/dkms.conf b/dkms.conf
index 8e637703a0c..cb2b4a2aee1 100644
--- a/dkms.conf
+++ b/dkms.conf
@@ -1,8 +1,11 @@
-PACKAGE_NAME="@_PKGBASE@"
+PACKAGE_NAME="@PKGBASE@"
PACKAGE_VERSION="@PKGVER@"
-MAKE="'make' KVER=${kernelver} KSRC=/lib/modules/${kernelver}/build"
-CLEAN="make clean"
BUILT_MODULE_NAME="8814au"
-DEST_MODULE_LOCATION=/kernel/drivers/net/wireless
-REMAKE_INITRD=no
+PROCS_NUM=$(nproc)
+[ $PROCS_NUM -gt 16 ] && PROCS_NUM=16
+MAKE="'make' -j$PROCS_NUM KVER=${kernelver}
+KSRC=/lib/modules/${kernelver}/build"
+CLEAN="'make' clean"
+DEST_MODULE_LOCATION="/kernel/drivers/net/wireless"
AUTOINSTALL="yes"
+REMAKE_INITRD=no