Updated DKMS.conf + Makefile cleanup

This commit is contained in:
kimocoder 2018-08-05 20:26:38 +02:00
parent a9e88192d0
commit 6683c45f40
3 changed files with 6 additions and 20 deletions

View File

@ -2,5 +2,4 @@ config RTL8812AU
tristate "Realtek 8812A USB WiFi" tristate "Realtek 8812A USB WiFi"
depends on USB depends on USB
---help--- ---help---
Help message of RTL8812AU Help message of RTL8812AU

View File

@ -214,18 +214,6 @@ EXTRA_CFLAGS += -DDRV_NAME=\"rtl8812au\"
endif 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) ifeq ($(CONFIG_USB2_EXTERNAL_POWER), y)
EXTRA_CFLAGS += -DCONFIG_USE_EXTERNAL_POWER EXTRA_CFLAGS += -DCONFIG_USE_EXTERNAL_POWER
endif endif

View File

@ -1,11 +1,10 @@
PACKAGE_NAME="realtek-rtl88xxau" PACKAGE_NAME="realtek-rtl88xxau"
PACKAGE_VERSION="5.2.20.2~20180804" PACKAGE_VERSION="5.2.20.2~20180805"
CLEAN="make clean" CLEAN="'make' clean"
BUILT_MODULE_NAME[0]=8812au BUILT_MODULE_NAME[0]=88XXau
PROCS_NUM=`nproc` PROCS_NUM=`nproc`
[ $PROCS_NUM -gt 16 ] && PROCS_NUM=16 [ $PROCS_NUM -gt 16 ] && PROCS_NUM=16
DEST_MODULE_LOCATION[0]="/updates" DEST_MODULE_LOCATION[0]="/updates"
MAKE[0]="'make' -j$PROCS_NUM KVER=${kernelver} && 'make' -j$PROCS_NUM RTL8814=1 KVER=${kernelver}" MAKE="'make' -j$PROCS_NUM KVER=${kernelver} KSRC=/lib/modules/${kernelver}/build"
BUILT_MODULE_NAME[1]=8814au
DEST_MODULE_LOCATION[1]="/updates"
AUTOINSTALL="yes" AUTOINSTALL="yes"
REMAKE_INITRD=no