diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/rtl8812au/PKGBUILD | 4 | ||||
-rw-r--r-- | pcr/rtl8812au/dkms.conf | 14 |
2 files changed, 11 insertions, 7 deletions
diff --git a/pcr/rtl8812au/PKGBUILD b/pcr/rtl8812au/PKGBUILD index 3d0c564b3..a13e505f2 100644 --- a/pcr/rtl8812au/PKGBUILD +++ b/pcr/rtl8812au/PKGBUILD @@ -5,7 +5,7 @@ _pkgbase=rtl8812au pkgname=rtl8812au-dkms pkgver=5.6.4.2.20220606 # per upstream dkms.conf (see note in prepare()) _cid=cab4e4ec56884f65e0c279c1b5ceaf70dbe79be0 -pkgrel=1 +pkgrel=2 pkgdesc="RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection" url=https://github.com/aircrack-ng/rtl8812au license=(GPL2) @@ -18,7 +18,7 @@ source=(${_pkgbase}-${pkgver}.tar.gz::https://github.com/aircrack-ng/rtl8812au/a dkms.conf) sha256sums=(20b498bc597e5343ee6c240eabd45c36894db86c76f6bfc100448c8b9c420733 - 8303638219327cdc8559aa3a8fc62d7bb9cb2c64aaf6a3b5e6a515d4e98ce17e) + 9164f68d837976d0992a50875281f22fb7a2a82981346bde33706701f15bbcc8) case "${CARCH}" in armv7h ) export KARCH=arm ;; diff --git a/pcr/rtl8812au/dkms.conf b/pcr/rtl8812au/dkms.conf index 098439924..54ee7056d 100644 --- a/pcr/rtl8812au/dkms.conf +++ b/pcr/rtl8812au/dkms.conf @@ -1,7 +1,11 @@ -PACKAGE_NAME="@_PKGBASE@" +PACKAGE_NAME="@PKGBASE@" PACKAGE_VERSION="@PKGVER@" -MAKE[0]="make --uname_r=$kernelver" -CLEAN="make clean" -BUILT_MODULE_NAME[0]="@_PKGBASE@" -DEST_MODULE_LOCATION[0]="/kernel/net/wireless" +BUILT_MODULE_NAME="8812au" +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 |