From 6683c45f40fe25fa814b355ab4036ea865d2e695 Mon Sep 17 00:00:00 2001 From: kimocoder Date: Sun, 5 Aug 2018 20:26:38 +0200 Subject: [PATCH] Updated DKMS.conf + Makefile cleanup --- Kconfig | 3 +-- Makefile | 12 ------------ dkms.conf | 11 +++++------ 3 files changed, 6 insertions(+), 20 deletions(-) diff --git a/Kconfig b/Kconfig index f87653d..bf7d0dc 100644 --- a/Kconfig +++ b/Kconfig @@ -2,5 +2,4 @@ config RTL8812AU tristate "Realtek 8812A USB WiFi" depends on USB ---help--- - Help message of RTL8812AU - + Help message of RTL8812AU diff --git a/Makefile b/Makefile index f83c30c..3b74c34 100755 --- a/Makefile +++ b/Makefile @@ -214,18 +214,6 @@ EXTRA_CFLAGS += -DDRV_NAME=\"rtl8812au\" endif -#ifeq ($(RTL8814), 1) -#CONFIG_RTL8812A = n -#CONFIG_RTL8821A = n -#CONFIG_RTL8814A = y -#endif - -#ifeq ($(RTL8821), 1) -#CONFIG_RTL8812A = y -#CONFIG_RTL8821A = y -#CONFIG_RTL8814A = n -#endif - ifeq ($(CONFIG_USB2_EXTERNAL_POWER), y) EXTRA_CFLAGS += -DCONFIG_USE_EXTERNAL_POWER endif diff --git a/dkms.conf b/dkms.conf index a8c9005..df9bc7e 100644 --- a/dkms.conf +++ b/dkms.conf @@ -1,11 +1,10 @@ PACKAGE_NAME="realtek-rtl88xxau" -PACKAGE_VERSION="5.2.20.2~20180804" -CLEAN="make clean" -BUILT_MODULE_NAME[0]=8812au +PACKAGE_VERSION="5.2.20.2~20180805" +CLEAN="'make' clean" +BUILT_MODULE_NAME[0]=88XXau PROCS_NUM=`nproc` [ $PROCS_NUM -gt 16 ] && PROCS_NUM=16 DEST_MODULE_LOCATION[0]="/updates" -MAKE[0]="'make' -j$PROCS_NUM KVER=${kernelver} && 'make' -j$PROCS_NUM RTL8814=1 KVER=${kernelver}" -BUILT_MODULE_NAME[1]=8814au -DEST_MODULE_LOCATION[1]="/updates" +MAKE="'make' -j$PROCS_NUM KVER=${kernelver} KSRC=/lib/modules/${kernelver}/build" AUTOINSTALL="yes" +REMAKE_INITRD=no