17bc04215SFelix Fietkauobj-$(CONFIG_MT76_CORE) += mt76.o
2b40b15e1SLorenzo Bianconiobj-$(CONFIG_MT76_USB) += mt76-usb.o
3c2a4d9fbSStanislaw Gruszkaobj-$(CONFIG_MT76x0_COMMON) += mt76x0/
4108a4861SStanislaw Gruszkaobj-$(CONFIG_MT76x02_LIB) += mt76x02-lib.o
5d20ad581SLorenzo Bianconiobj-$(CONFIG_MT76x2_COMMON) += mt76x2-common.o
67bc04215SFelix Fietkauobj-$(CONFIG_MT76x2E) += mt76x2e.o
7ee676cd5SLorenzo Bianconiobj-$(CONFIG_MT76x2U) += mt76x2u.o
87bc04215SFelix Fietkau
97bc04215SFelix Fietkaumt76-y := \
10aee5b8cfSFelix Fietkau	mmio.o util.o trace.o dma.o mac80211.o debugfs.o eeprom.o tx.o agg-rx.o
117bc04215SFelix Fietkau
12b40b15e1SLorenzo Bianconimt76-usb-y := usb.o usb_trace.o usb_mcu.o
13b40b15e1SLorenzo Bianconi
147bc04215SFelix FietkauCFLAGS_trace.o := -I$(src)
15b40b15e1SLorenzo BianconiCFLAGS_usb_trace.o := -I$(src)
167bc04215SFelix Fietkau
17c378f247SStanislaw Gruszkamt76x02-lib-y := mt76x02_util.o mt76x02_mac.o
18108a4861SStanislaw Gruszka
19d20ad581SLorenzo Bianconimt76x2-common-y := \
2043930193SLorenzo Bianconi	mt76x2_eeprom.o mt76x2_tx_common.o mt76x2_mac_common.o \
2103780400SLorenzo Bianconi	mt76x2_init_common.o mt76x2_common.o mt76x2_phy_common.o \
2203780400SLorenzo Bianconi	mt76x2_debugfs.o
23d20ad581SLorenzo Bianconi
247bc04215SFelix Fietkaumt76x2e-y := \
257bc04215SFelix Fietkau	mt76x2_pci.o mt76x2_dma.o \
2603780400SLorenzo Bianconi	mt76x2_main.o mt76x2_init.o mt76x2_tx.o \
27d20ad581SLorenzo Bianconi	mt76x2_core.o mt76x2_mac.o mt76x2_mcu.o mt76x2_phy.o \
287bc04215SFelix Fietkau	mt76x2_dfs.o mt76x2_trace.o
297bc04215SFelix Fietkau
30ee676cd5SLorenzo Bianconimt76x2u-y := \
31ee676cd5SLorenzo Bianconi	mt76x2_usb.o mt76x2u_init.o mt76x2u_main.o mt76x2u_mac.o \
32ee676cd5SLorenzo Bianconi	mt76x2u_mcu.o mt76x2u_phy.o mt76x2u_core.o
33ee676cd5SLorenzo Bianconi
347bc04215SFelix FietkauCFLAGS_mt76x2_trace.o := -I$(src)
35