xref: /linux/drivers/net/wireless/realtek/rtw89/Makefile (revision 9410645520e9b820069761f3450ef6661418e279)
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
34861e58c8SZong-Zhe Yangobj-$(CONFIG_RTW89_8852A) += rtw89_8852a.o
35861e58c8SZong-Zhe Yangrtw89_8852a-objs := rtw8852a.o \
36861e58c8SZong-Zhe Yang		    rtw8852a_table.o \
37861e58c8SZong-Zhe Yang		    rtw8852a_rfk.o \
38861e58c8SZong-Zhe Yang		    rtw8852a_rfk_table.o
39861e58c8SZong-Zhe Yang
40861e58c8SZong-Zhe Yangobj-$(CONFIG_RTW89_8852AE) += rtw89_8852ae.o
41861e58c8SZong-Zhe Yangrtw89_8852ae-objs := rtw8852ae.o
42861e58c8SZong-Zhe Yang
435a72e198SPing-Ke Shihobj-$(CONFIG_RTW89_8852B_COMMON) += rtw89_8852b_common.o
445a72e198SPing-Ke Shihrtw89_8852b_common-objs := rtw8852b_common.o
455a72e198SPing-Ke Shih
46b5db4ef3SPing-Ke Shihobj-$(CONFIG_RTW89_8852B) += rtw89_8852b.o
47b5db4ef3SPing-Ke Shihrtw89_8852b-objs := rtw8852b.o \
48b5db4ef3SPing-Ke Shih		    rtw8852b_table.o \
49b5db4ef3SPing-Ke Shih		    rtw8852b_rfk.o \
50b5db4ef3SPing-Ke Shih		    rtw8852b_rfk_table.o
51b5db4ef3SPing-Ke Shih
52b5db4ef3SPing-Ke Shihobj-$(CONFIG_RTW89_8852BE) += rtw89_8852be.o
53b5db4ef3SPing-Ke Shihrtw89_8852be-objs := rtw8852be.o
54b5db4ef3SPing-Ke Shih
55*b9cdbb06SPing-Ke Shihobj-$(CONFIG_RTW89_8852BT) += rtw89_8852bt.o
56*b9cdbb06SPing-Ke Shihrtw89_8852bt-objs := rtw8852bt.o \
57*b9cdbb06SPing-Ke Shih		    rtw8852bt_rfk.o \
58*b9cdbb06SPing-Ke Shih		    rtw8852bt_rfk_table.o
59*b9cdbb06SPing-Ke Shih
60*b9cdbb06SPing-Ke Shihobj-$(CONFIG_RTW89_8852BTE) += rtw89_8852bte.o
61*b9cdbb06SPing-Ke Shihrtw89_8852bte-objs := rtw8852bte.o
62*b9cdbb06SPing-Ke Shih
637ba49f4cSPing-Ke Shihobj-$(CONFIG_RTW89_8852C) += rtw89_8852c.o
647ba49f4cSPing-Ke Shihrtw89_8852c-objs := rtw8852c.o \
657ba49f4cSPing-Ke Shih		    rtw8852c_table.o \
667ba49f4cSPing-Ke Shih		    rtw8852c_rfk.o \
677ba49f4cSPing-Ke Shih		    rtw8852c_rfk_table.o
687ba49f4cSPing-Ke Shih
697ba49f4cSPing-Ke Shihobj-$(CONFIG_RTW89_8852CE) += rtw89_8852ce.o
707ba49f4cSPing-Ke Shihrtw89_8852ce-objs := rtw8852ce.o
717ba49f4cSPing-Ke Shih
72f95d9045SPing-Ke Shihobj-$(CONFIG_RTW89_8922A) += rtw89_8922a.o
73f95d9045SPing-Ke Shihrtw89_8922a-objs := rtw8922a.o \
74f95d9045SPing-Ke Shih		    rtw8922a_rfk.o
75f95d9045SPing-Ke Shih
76f95d9045SPing-Ke Shihobj-$(CONFIG_RTW89_8922AE) += rtw89_8922ae.o
77f95d9045SPing-Ke Shihrtw89_8922ae-objs := rtw8922ae.o
78f95d9045SPing-Ke Shih
79e3ec7017SPing-Ke Shihrtw89_core-$(CONFIG_RTW89_DEBUG) += debug.o
80e3ec7017SPing-Ke Shih
81e3ec7017SPing-Ke Shihobj-$(CONFIG_RTW89_PCI) += rtw89_pci.o
82f95d9045SPing-Ke Shihrtw89_pci-y := pci.o pci_be.o
83e3ec7017SPing-Ke Shih
84