# 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 \
	   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_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_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_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_PCI)		+= rtw88_pci.o
rtw88_pci-objs			:= pci.o
