1f9b628d6SYan-Hsuan Chuang# SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2f9b628d6SYan-Hsuan Chuang
36b684282SYan-Hsuan Chuangobj-$(CONFIG_RTW88_CORE)	+= rtw88_core.o
46b684282SYan-Hsuan Chuangrtw88_core-y += main.o \
5e3037485SYan-Hsuan Chuang	   mac80211.o \
6e3037485SYan-Hsuan Chuang	   util.o \
7e3037485SYan-Hsuan Chuang	   debug.o \
8e3037485SYan-Hsuan Chuang	   tx.o \
9e3037485SYan-Hsuan Chuang	   rx.o \
10e3037485SYan-Hsuan Chuang	   mac.o \
11e3037485SYan-Hsuan Chuang	   phy.o \
124136214fSYan-Hsuan Chuang	   coex.o \
13e3037485SYan-Hsuan Chuang	   efuse.o \
14e3037485SYan-Hsuan Chuang	   fw.o \
15e3037485SYan-Hsuan Chuang	   ps.o \
16e3037485SYan-Hsuan Chuang	   sec.o \
170bd95573STzu-En Huang	   bf.o \
188704d0beSZong-Zhe Yang	   sar.o \
19e3037485SYan-Hsuan Chuang	   regd.o
20e3037485SYan-Hsuan Chuang
2105e45887SPing-Ke Shihrtw88_core-$(CONFIG_PM) += wow.o
22e3037485SYan-Hsuan Chuang
23416e87fcSZong-Zhe Yangobj-$(CONFIG_RTW88_8822B)	+= rtw88_8822b.o
24416e87fcSZong-Zhe Yangrtw88_8822b-objs		:= rtw8822b.o rtw8822b_table.o
25416e87fcSZong-Zhe Yang
26416e87fcSZong-Zhe Yangobj-$(CONFIG_RTW88_8822BE)	+= rtw88_8822be.o
27416e87fcSZong-Zhe Yangrtw88_8822be-objs		:= rtw8822be.o
28416e87fcSZong-Zhe Yang
2945794099SSascha Hauerobj-$(CONFIG_RTW88_8822BU)	+= rtw88_8822bu.o
3045794099SSascha Hauerrtw88_8822bu-objs		:= rtw8822bu.o
3145794099SSascha Hauer
32ba0fbe23SZong-Zhe Yangobj-$(CONFIG_RTW88_8822C)	+= rtw88_8822c.o
33ba0fbe23SZong-Zhe Yangrtw88_8822c-objs		:= rtw8822c.o rtw8822c_table.o
34ba0fbe23SZong-Zhe Yang
35ba0fbe23SZong-Zhe Yangobj-$(CONFIG_RTW88_8822CE)	+= rtw88_8822ce.o
36ba0fbe23SZong-Zhe Yangrtw88_8822ce-objs		:= rtw8822ce.o
37ba0fbe23SZong-Zhe Yang
3807cef03bSSascha Hauerobj-$(CONFIG_RTW88_8822CU)	+= rtw88_8822cu.o
3907cef03bSSascha Hauerrtw88_8822cu-objs		:= rtw8822cu.o
4007cef03bSSascha Hauer
41f56f0863SZong-Zhe Yangobj-$(CONFIG_RTW88_8723D)	+= rtw88_8723d.o
42f56f0863SZong-Zhe Yangrtw88_8723d-objs		:= rtw8723d.o rtw8723d_table.o
43f56f0863SZong-Zhe Yang
44f56f0863SZong-Zhe Yangobj-$(CONFIG_RTW88_8723DE)	+= rtw88_8723de.o
45f56f0863SZong-Zhe Yangrtw88_8723de-objs		:= rtw8723de.o
46f56f0863SZong-Zhe Yang
47*87caeef0SSascha Hauerobj-$(CONFIG_RTW88_8723DU)	+= rtw88_8723du.o
48*87caeef0SSascha Hauerrtw88_8723du-objs		:= rtw8723du.o
49*87caeef0SSascha Hauer
50f745eb9cSTzu-En Huangobj-$(CONFIG_RTW88_8821C)	+= rtw88_8821c.o
51f745eb9cSTzu-En Huangrtw88_8821c-objs		:= rtw8821c.o rtw8821c_table.o
52f745eb9cSTzu-En Huang
53f745eb9cSTzu-En Huangobj-$(CONFIG_RTW88_8821CE)	+= rtw88_8821ce.o
54f745eb9cSTzu-En Huangrtw88_8821ce-objs		:= rtw8821ce.o
55f745eb9cSTzu-En Huang
56aff5ffd7SSascha Hauerobj-$(CONFIG_RTW88_8821CU)	+= rtw88_8821cu.o
57aff5ffd7SSascha Hauerrtw88_8821cu-objs		:= rtw8821cu.o
58aff5ffd7SSascha Hauer
596b684282SYan-Hsuan Chuangobj-$(CONFIG_RTW88_PCI)		+= rtw88_pci.o
606b684282SYan-Hsuan Chuangrtw88_pci-objs			:= pci.o
61a82dfd33SSascha Hauer
62a82dfd33SSascha Hauerobj-$(CONFIG_RTW88_USB)		+= rtw88_usb.o
63a82dfd33SSascha Hauerrtw88_usb-objs			:= usb.o
64