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
5905db747SLorenzo Bianconiobj-$(CONFIG_MT76x02_USB) += mt76x02-usb.o
6d20ad581SLorenzo Bianconiobj-$(CONFIG_MT76x2_COMMON) += mt76x2-common.o
77bc04215SFelix Fietkauobj-$(CONFIG_MT76x2E) += mt76x2e.o
8ee676cd5SLorenzo Bianconiobj-$(CONFIG_MT76x2U) += mt76x2u.o
97bc04215SFelix Fietkau
107bc04215SFelix Fietkaumt76-y := \
11aee5b8cfSFelix Fietkau	mmio.o util.o trace.o dma.o mac80211.o debugfs.o eeprom.o tx.o agg-rx.o
127bc04215SFelix Fietkau
13b40b15e1SLorenzo Bianconimt76-usb-y := usb.o usb_trace.o usb_mcu.o
14b40b15e1SLorenzo Bianconi
157bc04215SFelix FietkauCFLAGS_trace.o := -I$(src)
16b40b15e1SLorenzo BianconiCFLAGS_usb_trace.o := -I$(src)
177bc04215SFelix Fietkau
1836fd09ddSLorenzo Bianconimt76x02-lib-y := mt76x02_util.o mt76x02_mac.o mt76x02_mcu.o
19108a4861SStanislaw Gruszka
20c2db13acSLorenzo Bianconimt76x02-usb-y := mt76x02_usb_mcu.o mt76x02_usb_core.o
21905db747SLorenzo Bianconi
22d20ad581SLorenzo Bianconimt76x2-common-y := \
2343930193SLorenzo Bianconi	mt76x2_eeprom.o mt76x2_tx_common.o mt76x2_mac_common.o \
2403780400SLorenzo Bianconi	mt76x2_init_common.o mt76x2_common.o mt76x2_phy_common.o \
25bc366901SLorenzo Bianconi	mt76x2_debugfs.o mt76x2_mcu_common.o
26d20ad581SLorenzo Bianconi
277bc04215SFelix Fietkaumt76x2e-y := \
287bc04215SFelix Fietkau	mt76x2_pci.o mt76x2_dma.o \
2903780400SLorenzo Bianconi	mt76x2_main.o mt76x2_init.o mt76x2_tx.o \
30d20ad581SLorenzo Bianconi	mt76x2_core.o mt76x2_mac.o mt76x2_mcu.o mt76x2_phy.o \
317bc04215SFelix Fietkau	mt76x2_dfs.o mt76x2_trace.o
327bc04215SFelix Fietkau
33ee676cd5SLorenzo Bianconimt76x2u-y := \
34ee676cd5SLorenzo Bianconi	mt76x2_usb.o mt76x2u_init.o mt76x2u_main.o mt76x2u_mac.o \
35ee676cd5SLorenzo Bianconi	mt76x2u_mcu.o mt76x2u_phy.o mt76x2u_core.o
36ee676cd5SLorenzo Bianconi
377bc04215SFelix FietkauCFLAGS_mt76x2_trace.o := -I$(src)
38