# SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause

obj-$(CONFIG_RTW88_CORE)	+= rtw88_core.o
rtw88_core-y += main.o \
	   mac80211.o \
	   util.o \
	   debug.o \
	   tx.o \
	   rx.o \
	   mac.o \
	   phy.o \
	   coex.o \
	   efuse.o \
	   fw.o \
	   ps.o \
	   sec.o \
	   bf.o \
	   sar.o \
	   regd.o

rtw88_core-$(CONFIG_PM) += wow.o

obj-$(CONFIG_RTW88_8822B)	+= rtw88_8822b.o
rtw88_8822b-objs		:= rtw8822b.o rtw8822b_table.o

obj-$(CONFIG_RTW88_8822BE)	+= rtw88_8822be.o
rtw88_8822be-objs		:= rtw8822be.o

obj-$(CONFIG_RTW88_8822BS)	+= rtw88_8822bs.o
rtw88_8822bs-objs		:= rtw8822bs.o

obj-$(CONFIG_RTW88_8822BU)	+= rtw88_8822bu.o
rtw88_8822bu-objs		:= rtw8822bu.o

obj-$(CONFIG_RTW88_8822C)	+= rtw88_8822c.o
rtw88_8822c-objs		:= rtw8822c.o rtw8822c_table.o

obj-$(CONFIG_RTW88_8822CE)	+= rtw88_8822ce.o
rtw88_8822ce-objs		:= rtw8822ce.o

obj-$(CONFIG_RTW88_8822CS)	+= rtw88_8822cs.o
rtw88_8822cs-objs		:= rtw8822cs.o

obj-$(CONFIG_RTW88_8822CU)	+= rtw88_8822cu.o
rtw88_8822cu-objs		:= rtw8822cu.o

obj-$(CONFIG_RTW88_8723D)	+= rtw88_8723d.o
rtw88_8723d-objs		:= rtw8723d.o rtw8723d_table.o

obj-$(CONFIG_RTW88_8723DE)	+= rtw88_8723de.o
rtw88_8723de-objs		:= rtw8723de.o

obj-$(CONFIG_RTW88_8723DS)	+= rtw88_8723ds.o
rtw88_8723ds-objs		:= rtw8723ds.o

obj-$(CONFIG_RTW88_8723DU)	+= rtw88_8723du.o
rtw88_8723du-objs		:= rtw8723du.o

obj-$(CONFIG_RTW88_8821C)	+= rtw88_8821c.o
rtw88_8821c-objs		:= rtw8821c.o rtw8821c_table.o

obj-$(CONFIG_RTW88_8821CE)	+= rtw88_8821ce.o
rtw88_8821ce-objs		:= rtw8821ce.o

obj-$(CONFIG_RTW88_8821CS)	+= rtw88_8821cs.o
rtw88_8821cs-objs		:= rtw8821cs.o

obj-$(CONFIG_RTW88_8821CU)	+= rtw88_8821cu.o
rtw88_8821cu-objs		:= rtw8821cu.o

obj-$(CONFIG_RTW88_PCI)		+= rtw88_pci.o
rtw88_pci-objs			:= pci.o

obj-$(CONFIG_RTW88_SDIO)	+= rtw88_sdio.o
rtw88_sdio-objs			:= sdio.o

obj-$(CONFIG_RTW88_USB)		+= rtw88_usb.o
rtw88_usb-objs			:= usb.o