xref: /freebsd/sys/contrib/dev/rtw88/Makefile (revision a0ccc12f6882a886d89ae279c541b2c2b62c6aca)
190aac0d8SBjoern A. Zeeb# SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
290aac0d8SBjoern A. Zeeb
390aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_CORE)	+= rtw88_core.o
490aac0d8SBjoern A. Zeebrtw88_core-y += main.o \
590aac0d8SBjoern A. Zeeb	   mac80211.o \
690aac0d8SBjoern A. Zeeb	   util.o \
790aac0d8SBjoern A. Zeeb	   debug.o \
890aac0d8SBjoern A. Zeeb	   tx.o \
990aac0d8SBjoern A. Zeeb	   rx.o \
1090aac0d8SBjoern A. Zeeb	   mac.o \
1190aac0d8SBjoern A. Zeeb	   phy.o \
1290aac0d8SBjoern A. Zeeb	   coex.o \
1390aac0d8SBjoern A. Zeeb	   efuse.o \
1490aac0d8SBjoern A. Zeeb	   fw.o \
1590aac0d8SBjoern A. Zeeb	   ps.o \
1690aac0d8SBjoern A. Zeeb	   sec.o \
1790aac0d8SBjoern A. Zeeb	   bf.o \
1890aac0d8SBjoern A. Zeeb	   sar.o \
1990aac0d8SBjoern A. Zeeb	   regd.o
2090aac0d8SBjoern A. Zeeb
2190aac0d8SBjoern A. Zeebrtw88_core-$(CONFIG_PM) += wow.o
2290aac0d8SBjoern A. Zeeb
23*a0ccc12fSBjoern A. Zeebrtw88_core-$(CONFIG_RTW88_LEDS) += led.o
24*a0ccc12fSBjoern A. Zeeb
2590aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8822B)	+= rtw88_8822b.o
2690aac0d8SBjoern A. Zeebrtw88_8822b-objs		:= rtw8822b.o rtw8822b_table.o
2790aac0d8SBjoern A. Zeeb
2890aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8822BE)	+= rtw88_8822be.o
2990aac0d8SBjoern A. Zeebrtw88_8822be-objs		:= rtw8822be.o
3090aac0d8SBjoern A. Zeeb
3190aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8822BS)	+= rtw88_8822bs.o
3290aac0d8SBjoern A. Zeebrtw88_8822bs-objs		:= rtw8822bs.o
3390aac0d8SBjoern A. Zeeb
3490aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8822BU)	+= rtw88_8822bu.o
3590aac0d8SBjoern A. Zeebrtw88_8822bu-objs		:= rtw8822bu.o
3690aac0d8SBjoern A. Zeeb
3790aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8822C)	+= rtw88_8822c.o
3890aac0d8SBjoern A. Zeebrtw88_8822c-objs		:= rtw8822c.o rtw8822c_table.o
3990aac0d8SBjoern A. Zeeb
4090aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8822CE)	+= rtw88_8822ce.o
4190aac0d8SBjoern A. Zeebrtw88_8822ce-objs		:= rtw8822ce.o
4290aac0d8SBjoern A. Zeeb
4390aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8822CS)	+= rtw88_8822cs.o
4490aac0d8SBjoern A. Zeebrtw88_8822cs-objs		:= rtw8822cs.o
4590aac0d8SBjoern A. Zeeb
4690aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8822CU)	+= rtw88_8822cu.o
4790aac0d8SBjoern A. Zeebrtw88_8822cu-objs		:= rtw8822cu.o
4890aac0d8SBjoern A. Zeeb
4911c53278SBjoern A. Zeebobj-$(CONFIG_RTW88_8723X)	+= rtw88_8723x.o
5011c53278SBjoern A. Zeebrtw88_8723x-objs		:= rtw8723x.o
5111c53278SBjoern A. Zeeb
5211c53278SBjoern A. Zeebobj-$(CONFIG_RTW88_8703B)	+= rtw88_8703b.o
5311c53278SBjoern A. Zeebrtw88_8703b-objs		:= rtw8703b.o rtw8703b_tables.o
5411c53278SBjoern A. Zeeb
5511c53278SBjoern A. Zeebobj-$(CONFIG_RTW88_8723CS)	+= rtw88_8723cs.o
5611c53278SBjoern A. Zeebrtw88_8723cs-objs		:= rtw8723cs.o
5711c53278SBjoern A. Zeeb
5890aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8723D)	+= rtw88_8723d.o
5990aac0d8SBjoern A. Zeebrtw88_8723d-objs		:= rtw8723d.o rtw8723d_table.o
6090aac0d8SBjoern A. Zeeb
6190aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8723DE)	+= rtw88_8723de.o
6290aac0d8SBjoern A. Zeebrtw88_8723de-objs		:= rtw8723de.o
6390aac0d8SBjoern A. Zeeb
6490aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8723DS)	+= rtw88_8723ds.o
6590aac0d8SBjoern A. Zeebrtw88_8723ds-objs		:= rtw8723ds.o
6690aac0d8SBjoern A. Zeeb
6790aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8723DU)	+= rtw88_8723du.o
6890aac0d8SBjoern A. Zeebrtw88_8723du-objs		:= rtw8723du.o
6990aac0d8SBjoern A. Zeeb
7090aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8821C)	+= rtw88_8821c.o
7190aac0d8SBjoern A. Zeebrtw88_8821c-objs		:= rtw8821c.o rtw8821c_table.o
7290aac0d8SBjoern A. Zeeb
7390aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8821CE)	+= rtw88_8821ce.o
7490aac0d8SBjoern A. Zeebrtw88_8821ce-objs		:= rtw8821ce.o
7590aac0d8SBjoern A. Zeeb
7690aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8821CS)	+= rtw88_8821cs.o
7790aac0d8SBjoern A. Zeebrtw88_8821cs-objs		:= rtw8821cs.o
7890aac0d8SBjoern A. Zeeb
7990aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_8821CU)	+= rtw88_8821cu.o
8090aac0d8SBjoern A. Zeebrtw88_8821cu-objs		:= rtw8821cu.o
8190aac0d8SBjoern A. Zeeb
82*a0ccc12fSBjoern A. Zeebobj-$(CONFIG_RTW88_88XXA)	+= rtw88_88xxa.o
83*a0ccc12fSBjoern A. Zeebrtw88_88xxa-objs		:= rtw88xxa.o
84*a0ccc12fSBjoern A. Zeeb
85*a0ccc12fSBjoern A. Zeebobj-$(CONFIG_RTW88_8821A)	+= rtw88_8821a.o
86*a0ccc12fSBjoern A. Zeebrtw88_8821a-objs		:= rtw8821a.o rtw8821a_table.o
87*a0ccc12fSBjoern A. Zeeb
88*a0ccc12fSBjoern A. Zeebobj-$(CONFIG_RTW88_8812A)	+= rtw88_8812a.o
89*a0ccc12fSBjoern A. Zeebrtw88_8812a-objs		:= rtw8812a.o rtw8812a_table.o
90*a0ccc12fSBjoern A. Zeeb
91*a0ccc12fSBjoern A. Zeebobj-$(CONFIG_RTW88_8821AU)	+= rtw88_8821au.o
92*a0ccc12fSBjoern A. Zeebrtw88_8821au-objs		:= rtw8821au.o
93*a0ccc12fSBjoern A. Zeeb
94*a0ccc12fSBjoern A. Zeebobj-$(CONFIG_RTW88_8812AU)	+= rtw88_8812au.o
95*a0ccc12fSBjoern A. Zeebrtw88_8812au-objs		:= rtw8812au.o
96*a0ccc12fSBjoern A. Zeeb
9790aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_PCI)		+= rtw88_pci.o
9890aac0d8SBjoern A. Zeebrtw88_pci-objs			:= pci.o
9990aac0d8SBjoern A. Zeeb
10090aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_SDIO)	+= rtw88_sdio.o
10190aac0d8SBjoern A. Zeebrtw88_sdio-objs			:= sdio.o
10290aac0d8SBjoern A. Zeeb
10390aac0d8SBjoern A. Zeebobj-$(CONFIG_RTW88_USB)		+= rtw88_usb.o
10490aac0d8SBjoern A. Zeebrtw88_usb-objs			:= usb.o
105