Remove and clean useless CONFIG_MULTIDRV code

This commit is contained in:
kimocoder 2019-08-16 18:09:24 +02:00
parent db4eb0cc90
commit 24df579fcf

View File

@ -44,7 +44,6 @@ EXTRA_CFLAGS += -I$(src)/include
CONFIG_AUTOCFG_CP = n CONFIG_AUTOCFG_CP = n
########################## WIFI IC ############################ ########################## WIFI IC ############################
CONFIG_MULTIDRV = n
CONFIG_RTL8188E = n CONFIG_RTL8188E = n
CONFIG_RTL8812A = y CONFIG_RTL8812A = y
CONFIG_RTL8821A = y CONFIG_RTL8821A = y
@ -992,9 +991,6 @@ endif
ifeq ($(CONFIG_AUTOCFG_CP), y) ifeq ($(CONFIG_AUTOCFG_CP), y)
ifeq ($(CONFIG_MULTIDRV), y)
$(shell cp $(TopDIR)/autoconf_multidrv_$(HCI_NAME)_linux.h $(TopDIR)/include/autoconf.h)
else
ifeq ($(CONFIG_RTL8188E)$(CONFIG_SDIO_HCI),yy) ifeq ($(CONFIG_RTL8188E)$(CONFIG_SDIO_HCI),yy)
$(shell cp $(TopDIR)/autoconf_rtl8189e_$(HCI_NAME)_linux.h $(TopDIR)/include/autoconf.h) $(shell cp $(TopDIR)/autoconf_rtl8189e_$(HCI_NAME)_linux.h $(TopDIR)/include/autoconf.h)
else ifeq ($(CONFIG_RTL8188F)$(CONFIG_SDIO_HCI),yy) else ifeq ($(CONFIG_RTL8188F)$(CONFIG_SDIO_HCI),yy)
@ -1006,8 +1002,6 @@ $(shell cp $(TopDIR)/autoconf_$(RTL871X)_$(HCI_NAME)_linux.h $(TopDIR)/include/a
endif endif
endif endif
endif
########### END OF PATH ################################# ########### END OF PATH #################################
ifeq ($(CONFIG_USB_HCI), y) ifeq ($(CONFIG_USB_HCI), y)
@ -2239,23 +2233,6 @@ ifeq ($(CONFIG_CUSTOMER_HUAWEI), y)
EXTRA_CFLAGS += -DCONFIG_HUAWEI_PROC EXTRA_CFLAGS += -DCONFIG_HUAWEI_PROC
endif endif
ifeq ($(CONFIG_MULTIDRV), y)
ifeq ($(CONFIG_SDIO_HCI), y)
MODULE_NAME := rtw_sdio
endif
ifeq ($(CONFIG_USB_HCI), y)
MODULE_NAME := rtw_usb
endif
ifeq ($(CONFIG_PCI_HCI), y)
MODULE_NAME := rtw_pci
endif
endif
USER_MODULE_NAME ?= USER_MODULE_NAME ?=
ifneq ($(USER_MODULE_NAME),) ifneq ($(USER_MODULE_NAME),)
MODULE_NAME := $(USER_MODULE_NAME) MODULE_NAME := $(USER_MODULE_NAME)