rtl8188eu: cleanup variables CONFIG_RTL8188EU and CONFIG_RTL8188E

The variable CONFIG_RTL8188E is unused so drop it, together with the
also unused cpp variable with the same name.

Then use CONFIG_RTL8188EU as a normal make variable in the kernel part
of the Makefile instead of exporting it in the default part of the
Makefile.
This commit is contained in:
Uwe Kleine-König 2021-03-04 14:35:10 +01:00 committed by Uwe Kleine-König
parent e8b915a586
commit 3686cfc4bd

View file

@ -28,7 +28,7 @@ EXTRA_CFLAGS += -I$(src)/hal/phydm
CONFIG_AUTOCFG_CP = n
########################## WIFI IC ############################
CONFIG_RTL8188E = y
CONFIG_RTL8188EU = m
######################### Interface ###########################
CONFIG_USB_HCI = y
########################## Features ###########################
@ -152,8 +152,6 @@ EXTRA_CFLAGS += -I$(src)/hal/btc
RTL871X = rtl8188e
EXTRA_CFLAGS += -DCONFIG_RTL8188E
_HAL_INTFS_FILES += hal/HalPwrSeqCmd.o \
hal/Hal8188EPwrSeq.o\
hal/$(RTL871X)_xmit.o\
@ -472,8 +470,6 @@ obj-$(CONFIG_RTL8188EU) := 8188eu.o
else
export CONFIG_RTL8188EU = m
all: test modules
test: