xref: /freebsd/sys/contrib/dev/rtw88/Makefile (revision 2e3f49888ec8851bafb22011533217487764fdb0)
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_8822BS)	+= rtw88_8822bs.o
30rtw88_8822bs-objs		:= rtw8822bs.o
31
32obj-$(CONFIG_RTW88_8822BU)	+= rtw88_8822bu.o
33rtw88_8822bu-objs		:= rtw8822bu.o
34
35obj-$(CONFIG_RTW88_8822C)	+= rtw88_8822c.o
36rtw88_8822c-objs		:= rtw8822c.o rtw8822c_table.o
37
38obj-$(CONFIG_RTW88_8822CE)	+= rtw88_8822ce.o
39rtw88_8822ce-objs		:= rtw8822ce.o
40
41obj-$(CONFIG_RTW88_8822CS)	+= rtw88_8822cs.o
42rtw88_8822cs-objs		:= rtw8822cs.o
43
44obj-$(CONFIG_RTW88_8822CU)	+= rtw88_8822cu.o
45rtw88_8822cu-objs		:= rtw8822cu.o
46
47obj-$(CONFIG_RTW88_8723D)	+= rtw88_8723d.o
48rtw88_8723d-objs		:= rtw8723d.o rtw8723d_table.o
49
50obj-$(CONFIG_RTW88_8723DE)	+= rtw88_8723de.o
51rtw88_8723de-objs		:= rtw8723de.o
52
53obj-$(CONFIG_RTW88_8723DS)	+= rtw88_8723ds.o
54rtw88_8723ds-objs		:= rtw8723ds.o
55
56obj-$(CONFIG_RTW88_8723DU)	+= rtw88_8723du.o
57rtw88_8723du-objs		:= rtw8723du.o
58
59obj-$(CONFIG_RTW88_8821C)	+= rtw88_8821c.o
60rtw88_8821c-objs		:= rtw8821c.o rtw8821c_table.o
61
62obj-$(CONFIG_RTW88_8821CE)	+= rtw88_8821ce.o
63rtw88_8821ce-objs		:= rtw8821ce.o
64
65obj-$(CONFIG_RTW88_8821CS)	+= rtw88_8821cs.o
66rtw88_8821cs-objs		:= rtw8821cs.o
67
68obj-$(CONFIG_RTW88_8821CU)	+= rtw88_8821cu.o
69rtw88_8821cu-objs		:= rtw8821cu.o
70
71obj-$(CONFIG_RTW88_PCI)		+= rtw88_pci.o
72rtw88_pci-objs			:= pci.o
73
74obj-$(CONFIG_RTW88_SDIO)	+= rtw88_sdio.o
75rtw88_sdio-objs			:= sdio.o
76
77obj-$(CONFIG_RTW88_USB)		+= rtw88_usb.o
78rtw88_usb-objs			:= usb.o
79