17bc04215SFelix Fietkauobj-$(CONFIG_MT76_CORE) += mt76.o
2b40b15e1SLorenzo Bianconiobj-$(CONFIG_MT76_USB) += mt76-usb.o
3108a4861SStanislaw Gruszkaobj-$(CONFIG_MT76x02_LIB) += mt76x02-lib.o
4905db747SLorenzo Bianconiobj-$(CONFIG_MT76x02_USB) += mt76x02-usb.o
57bc04215SFelix Fietkau
67bc04215SFelix Fietkaumt76-y := \
79df0fab9SLorenzo Bianconi	mmio.o util.o trace.o dma.o mac80211.o debugfs.o eeprom.o \
89df0fab9SLorenzo Bianconi	tx.o agg-rx.o mcu.o
97bc04215SFelix Fietkau
10fc994dbbSStanislaw Gruszkamt76-usb-y := usb.o usb_trace.o
11b40b15e1SLorenzo Bianconi
127bc04215SFelix FietkauCFLAGS_trace.o := -I$(src)
13b40b15e1SLorenzo BianconiCFLAGS_usb_trace.o := -I$(src)
143e2342edSLorenzo BianconiCFLAGS_mt76x02_trace.o := -I$(src)
157bc04215SFelix Fietkau
16bd724b8fSLorenzo Bianconimt76x02-lib-y := mt76x02_util.o mt76x02_mac.o mt76x02_mcu.o \
178e3ed001SLorenzo Bianconi		 mt76x02_eeprom.o mt76x02_phy.o mt76x02_mmio.o \
18e6cb3291SLorenzo Bianconi		 mt76x02_txrx.o mt76x02_trace.o mt76x02_debugfs.o \
19e6cb3291SLorenzo Bianconi		 mt76x02_dfs.o
20108a4861SStanislaw Gruszka
21c2db13acSLorenzo Bianconimt76x02-usb-y := mt76x02_usb_mcu.o mt76x02_usb_core.o
22905db747SLorenzo Bianconi
231613c621SLorenzo Bianconiobj-$(CONFIG_MT76x0_COMMON) += mt76x0/
241613c621SLorenzo Bianconiobj-$(CONFIG_MT76x2_COMMON) += mt76x2/
25