xref: /linux/drivers/net/wireless/realtek/rtw89/Makefile (revision 8be4d31cb8aaeea27bde4b7ddb26e28a89062ebf)
1e3ec7017SPing-Ke Shih# SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2e3ec7017SPing-Ke Shih
3e3ec7017SPing-Ke Shihobj-$(CONFIG_RTW89_CORE) += rtw89_core.o
4e3ec7017SPing-Ke Shihrtw89_core-y += core.o \
5e3ec7017SPing-Ke Shih		mac80211.o \
6e3ec7017SPing-Ke Shih		mac.o \
7f95d9045SPing-Ke Shih		mac_be.o \
8e3ec7017SPing-Ke Shih		phy.o \
9f95d9045SPing-Ke Shih		phy_be.o \
10e3ec7017SPing-Ke Shih		fw.o \
11e3ec7017SPing-Ke Shih		cam.o \
12e3ec7017SPing-Ke Shih		efuse.o \
13f95d9045SPing-Ke Shih		efuse_be.o \
14e3ec7017SPing-Ke Shih		regd.o \
15e3ec7017SPing-Ke Shih		sar.o \
16e3ec7017SPing-Ke Shih		coex.o \
17e3ec7017SPing-Ke Shih		ps.o \
18cbb145b9SZong-Zhe Yang		chan.o \
19e897b0beSZong-Zhe Yang		ser.o \
202ab298cfSPing-Ke Shih		acpi.o \
212ab298cfSPing-Ke Shih		util.o
22e3ec7017SPing-Ke Shih
2319e28c7fSChin-Yen Leertw89_core-$(CONFIG_PM) += wow.o
2419e28c7fSChin-Yen Lee
2514820388SPing-Ke Shihobj-$(CONFIG_RTW89_8851B) += rtw89_8851b.o
2614820388SPing-Ke Shihrtw89_8851b-objs := rtw8851b.o \
2714820388SPing-Ke Shih		    rtw8851b_table.o \
2814820388SPing-Ke Shih		    rtw8851b_rfk.o \
2914820388SPing-Ke Shih		    rtw8851b_rfk_table.o
3014820388SPing-Ke Shih
3114820388SPing-Ke Shihobj-$(CONFIG_RTW89_8851BE) += rtw89_8851be.o
3214820388SPing-Ke Shihrtw89_8851be-objs := rtw8851be.o
3314820388SPing-Ke Shih
3400300881SBitterblue Smithobj-$(CONFIG_RTW89_8851BU) += rtw89_8851bu.o
3500300881SBitterblue Smithrtw89_8851bu-objs := rtw8851bu.o
3600300881SBitterblue Smith
37861e58c8SZong-Zhe Yangobj-$(CONFIG_RTW89_8852A) += rtw89_8852a.o
38861e58c8SZong-Zhe Yangrtw89_8852a-objs := rtw8852a.o \
39861e58c8SZong-Zhe Yang		    rtw8852a_table.o \
40861e58c8SZong-Zhe Yang		    rtw8852a_rfk.o \
41861e58c8SZong-Zhe Yang		    rtw8852a_rfk_table.o
42861e58c8SZong-Zhe Yang
43861e58c8SZong-Zhe Yangobj-$(CONFIG_RTW89_8852AE) += rtw89_8852ae.o
44861e58c8SZong-Zhe Yangrtw89_8852ae-objs := rtw8852ae.o
45861e58c8SZong-Zhe Yang
465a72e198SPing-Ke Shihobj-$(CONFIG_RTW89_8852B_COMMON) += rtw89_8852b_common.o
475a72e198SPing-Ke Shihrtw89_8852b_common-objs := rtw8852b_common.o
485a72e198SPing-Ke Shih
49b5db4ef3SPing-Ke Shihobj-$(CONFIG_RTW89_8852B) += rtw89_8852b.o
50b5db4ef3SPing-Ke Shihrtw89_8852b-objs := rtw8852b.o \
51b5db4ef3SPing-Ke Shih		    rtw8852b_table.o \
52b5db4ef3SPing-Ke Shih		    rtw8852b_rfk.o \
53b5db4ef3SPing-Ke Shih		    rtw8852b_rfk_table.o
54b5db4ef3SPing-Ke Shih
55b5db4ef3SPing-Ke Shihobj-$(CONFIG_RTW89_8852BE) += rtw89_8852be.o
56b5db4ef3SPing-Ke Shihrtw89_8852be-objs := rtw8852be.o
57b5db4ef3SPing-Ke Shih
58*4b295f4fSBitterblue Smithobj-$(CONFIG_RTW89_8852BU) += rtw89_8852bu.o
59*4b295f4fSBitterblue Smithrtw89_8852bu-objs := rtw8852bu.o
60*4b295f4fSBitterblue Smith
61b9cdbb06SPing-Ke Shihobj-$(CONFIG_RTW89_8852BT) += rtw89_8852bt.o
62b9cdbb06SPing-Ke Shihrtw89_8852bt-objs := rtw8852bt.o \
63b9cdbb06SPing-Ke Shih		    rtw8852bt_rfk.o \
64b9cdbb06SPing-Ke Shih		    rtw8852bt_rfk_table.o
65b9cdbb06SPing-Ke Shih
66b9cdbb06SPing-Ke Shihobj-$(CONFIG_RTW89_8852BTE) += rtw89_8852bte.o
67b9cdbb06SPing-Ke Shihrtw89_8852bte-objs := rtw8852bte.o
68b9cdbb06SPing-Ke Shih
697ba49f4cSPing-Ke Shihobj-$(CONFIG_RTW89_8852C) += rtw89_8852c.o
707ba49f4cSPing-Ke Shihrtw89_8852c-objs := rtw8852c.o \
717ba49f4cSPing-Ke Shih		    rtw8852c_table.o \
727ba49f4cSPing-Ke Shih		    rtw8852c_rfk.o \
737ba49f4cSPing-Ke Shih		    rtw8852c_rfk_table.o
747ba49f4cSPing-Ke Shih
757ba49f4cSPing-Ke Shihobj-$(CONFIG_RTW89_8852CE) += rtw89_8852ce.o
767ba49f4cSPing-Ke Shihrtw89_8852ce-objs := rtw8852ce.o
777ba49f4cSPing-Ke Shih
78f95d9045SPing-Ke Shihobj-$(CONFIG_RTW89_8922A) += rtw89_8922a.o
79f95d9045SPing-Ke Shihrtw89_8922a-objs := rtw8922a.o \
80f95d9045SPing-Ke Shih		    rtw8922a_rfk.o
81f95d9045SPing-Ke Shih
82f95d9045SPing-Ke Shihobj-$(CONFIG_RTW89_8922AE) += rtw89_8922ae.o
83f95d9045SPing-Ke Shihrtw89_8922ae-objs := rtw8922ae.o
84f95d9045SPing-Ke Shih
85e3ec7017SPing-Ke Shihrtw89_core-$(CONFIG_RTW89_DEBUG) += debug.o
86e3ec7017SPing-Ke Shih
87e3ec7017SPing-Ke Shihobj-$(CONFIG_RTW89_PCI) += rtw89_pci.o
88f95d9045SPing-Ke Shihrtw89_pci-y := pci.o pci_be.o
89e3ec7017SPing-Ke Shih
9000300881SBitterblue Smithobj-$(CONFIG_RTW89_USB) += rtw89_usb.o
9100300881SBitterblue Smithrtw89_usb-y := usb.o
9200300881SBitterblue Smith
93