GNU Linux-libre 4.19.264-gnu1
[releases.git] / drivers / net / wireless / mediatek / mt76 / Makefile
1 obj-$(CONFIG_MT76_CORE) += mt76.o
2 obj-$(CONFIG_MT76_USB) += mt76-usb.o
3 obj-$(CONFIG_MT76x0U) += mt76x0/
4 obj-$(CONFIG_MT76x2_COMMON) += mt76x2-common.o
5 obj-$(CONFIG_MT76x2E) += mt76x2e.o
6 obj-$(CONFIG_MT76x2U) += mt76x2u.o
7
8 mt76-y := \
9         mmio.o util.o trace.o dma.o mac80211.o debugfs.o eeprom.o tx.o agg-rx.o
10
11 mt76-usb-y := usb.o usb_trace.o usb_mcu.o
12
13 CFLAGS_trace.o := -I$(src)
14 CFLAGS_usb_trace.o := -I$(src)
15
16 mt76x2-common-y := \
17         mt76x2_eeprom.o mt76x2_tx_common.o mt76x2_mac_common.o \
18         mt76x2_init_common.o mt76x2_common.o mt76x2_phy_common.o \
19         mt76x2_debugfs.o
20
21 mt76x2e-y := \
22         mt76x2_pci.o mt76x2_dma.o \
23         mt76x2_main.o mt76x2_init.o mt76x2_tx.o \
24         mt76x2_core.o mt76x2_mac.o mt76x2_mcu.o mt76x2_phy.o \
25         mt76x2_dfs.o mt76x2_trace.o
26
27 mt76x2u-y := \
28         mt76x2_usb.o mt76x2u_init.o mt76x2u_main.o mt76x2u_mac.o \
29         mt76x2u_mcu.o mt76x2u_phy.o mt76x2u_core.o
30
31 CFLAGS_mt76x2_trace.o := -I$(src)