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
18bd724b8fSLorenzo Bianconimt76x02-lib-y := mt76x02_util.o mt76x02_mac.o mt76x02_mcu.o \
1920885649SLorenzo Bianconi		 mt76x02_eeprom.o mt76x02_phy.o mt76x02_mmio.o
20108a4861SStanislaw Gruszka
21c2db13acSLorenzo Bianconimt76x02-usb-y := mt76x02_usb_mcu.o mt76x02_usb_core.o
22905db747SLorenzo Bianconi
23d20ad581SLorenzo Bianconimt76x2-common-y := \
2443930193SLorenzo Bianconi	mt76x2_eeprom.o mt76x2_tx_common.o mt76x2_mac_common.o \
2503780400SLorenzo Bianconi	mt76x2_init_common.o mt76x2_common.o mt76x2_phy_common.o \
26bc366901SLorenzo Bianconi	mt76x2_debugfs.o mt76x2_mcu_common.o
27d20ad581SLorenzo Bianconi
287bc04215SFelix Fietkaumt76x2e-y := \
297bc04215SFelix Fietkau	mt76x2_pci.o mt76x2_dma.o \
3003780400SLorenzo Bianconi	mt76x2_main.o mt76x2_init.o mt76x2_tx.o \
31d20ad581SLorenzo Bianconi	mt76x2_core.o mt76x2_mac.o mt76x2_mcu.o mt76x2_phy.o \
327bc04215SFelix Fietkau	mt76x2_dfs.o mt76x2_trace.o
337bc04215SFelix Fietkau
34ee676cd5SLorenzo Bianconimt76x2u-y := \
35ee676cd5SLorenzo Bianconi	mt76x2_usb.o mt76x2u_init.o mt76x2u_main.o mt76x2u_mac.o \
36ee676cd5SLorenzo Bianconi	mt76x2u_mcu.o mt76x2u_phy.o mt76x2u_core.o
37ee676cd5SLorenzo Bianconi
387bc04215SFelix FietkauCFLAGS_mt76x2_trace.o := -I$(src)
39