Commit 6ba3047d authored by Martin Kaiser's avatar Martin Kaiser Committed by Greg Kroah-Hartman
Browse files

staging: r8188eu: Makefile: use one file list



It's enough to have a single list of source files. There are no config
settings for this driver that change the list of source files that
we compile.

Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211016173544.25376-4-martin@kaiser.cx


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 811245c4
Loading
Loading
Loading
Loading
+55 −67
Original line number Diff line number Diff line

OUTSRC_FILES :=				\
r8188eu-y = \
		hal/HalHWImg8188E_MAC.o \
		hal/HalHWImg8188E_BB.o \
		hal/HalHWImg8188E_RF.o \
@@ -27,9 +27,7 @@ OUTSRC_FILES := \
		hal/rtl8188eu_recv.o \
		hal/rtl8188eu_xmit.o \
		hal/usb_halinit.o \
		hal/usb_ops_linux.o

_OS_INTFS_FILES :=				\
		hal/usb_ops_linux.o \
		os_dep/ioctl_linux.o \
		os_dep/mlme_linux.o \
		os_dep/os_intfs.o \
@@ -37,11 +35,7 @@ _OS_INTFS_FILES := \
		os_dep/recv_linux.o \
		os_dep/usb_intf.o \
		os_dep/usb_ops_linux.o \
			os_dep/xmit_linux.o

_HAL_INTFS_FILES += $(OUTSRC_FILES)

rtk_core :=				\
		os_dep/xmit_linux.o \
		core/rtw_ap.o \
		core/rtw_br_ext.o \
		core/rtw_cmd.o \
@@ -62,10 +56,4 @@ rtk_core := \
		core/rtw_wlan_util.o \
		core/rtw_xmit.o

r8188eu-y += $(rtk_core)

r8188eu-y += $(_HAL_INTFS_FILES)

r8188eu-y += $(_OS_INTFS_FILES)

obj-$(CONFIG_R8188EU) := r8188eu.o