1# SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2
3obj-$(CONFIG_RTW88_CORE)	+= rtw88_core.o
4rtw88_core-y += main.o \
5	   mac80211.o \
6	   util.o \
7	   debug.o \
8	   tx.o \
9	   rx.o \
10	   mac.o \
11	   phy.o \
12	   coex.o \
13	   efuse.o \
14	   fw.o \
15	   ps.o \
16	   sec.o \
17	   bf.o \
18	   sar.o \
19	   regd.o
20
21rtw88_core-$(CONFIG_PM) += wow.o
22
23obj-$(CONFIG_RTW88_8822B)	+= rtw88_8822b.o
24rtw88_8822b-objs		:= rtw8822b.o rtw8822b_table.o
25
26obj-$(CONFIG_RTW88_8822BE)	+= rtw88_8822be.o
27rtw88_8822be-objs		:= rtw8822be.o
28
29obj-$(CONFIG_RTW88_8822BU)	+= rtw88_8822bu.o
30rtw88_8822bu-objs		:= rtw8822bu.o
31
32obj-$(CONFIG_RTW88_8822C)	+= rtw88_8822c.o
33rtw88_8822c-objs		:= rtw8822c.o rtw8822c_table.o
34
35obj-$(CONFIG_RTW88_8822CE)	+= rtw88_8822ce.o
36rtw88_8822ce-objs		:= rtw8822ce.o
37
38obj-$(CONFIG_RTW88_8822CU)	+= rtw88_8822cu.o
39rtw88_8822cu-objs		:= rtw8822cu.o
40
41obj-$(CONFIG_RTW88_8723D)	+= rtw88_8723d.o
42rtw88_8723d-objs		:= rtw8723d.o rtw8723d_table.o
43
44obj-$(CONFIG_RTW88_8723DE)	+= rtw88_8723de.o
45rtw88_8723de-objs		:= rtw8723de.o
46
47obj-$(CONFIG_RTW88_8723DU)	+= rtw88_8723du.o
48rtw88_8723du-objs		:= rtw8723du.o
49
50obj-$(CONFIG_RTW88_8821C)	+= rtw88_8821c.o
51rtw88_8821c-objs		:= rtw8821c.o rtw8821c_table.o
52
53obj-$(CONFIG_RTW88_8821CE)	+= rtw88_8821ce.o
54rtw88_8821ce-objs		:= rtw8821ce.o
55
56obj-$(CONFIG_RTW88_8821CU)	+= rtw88_8821cu.o
57rtw88_8821cu-objs		:= rtw8821cu.o
58
59obj-$(CONFIG_RTW88_PCI)		+= rtw88_pci.o
60rtw88_pci-objs			:= pci.o
61
62obj-$(CONFIG_RTW88_USB)		+= rtw88_usb.o
63rtw88_usb-objs			:= usb.o
64