Makefile (46d3304d6552d6dfd715e66b4c28e7c70bedd2f7) Makefile (c74df1c067f2af0a3758a5ab02806f501473797c)
1# SPDX-License-Identifier: GPL-2.0-only
2obj-$(CONFIG_MT76_CORE) += mt76.o
3obj-$(CONFIG_MT76_USB) += mt76-usb.o
4obj-$(CONFIG_MT76_SDIO) += mt76-sdio.o
5obj-$(CONFIG_MT76x02_LIB) += mt76x02-lib.o
6obj-$(CONFIG_MT76x02_USB) += mt76x02-usb.o
7obj-$(CONFIG_MT76_CONNAC_LIB) += mt76-connac-lib.o
1# SPDX-License-Identifier: GPL-2.0-only
2obj-$(CONFIG_MT76_CORE) += mt76.o
3obj-$(CONFIG_MT76_USB) += mt76-usb.o
4obj-$(CONFIG_MT76_SDIO) += mt76-sdio.o
5obj-$(CONFIG_MT76x02_LIB) += mt76x02-lib.o
6obj-$(CONFIG_MT76x02_USB) += mt76x02-usb.o
7obj-$(CONFIG_MT76_CONNAC_LIB) += mt76-connac-lib.o
8obj-$(CONFIG_MT792x_LIB) += mt792x-lib.o
8
9mt76-y := \
10 mmio.o util.o trace.o dma.o mac80211.o debugfs.o eeprom.o \
11 tx.o agg-rx.o mcu.o
12
13mt76-$(CONFIG_PCI) += pci.o
14mt76-$(CONFIG_NL80211_TESTMODE) += testmode.o
15
16mt76-usb-y := usb.o usb_trace.o
17mt76-sdio-y := sdio.o sdio_txrx.o
18
19CFLAGS_trace.o := -I$(src)
20CFLAGS_usb_trace.o := -I$(src)
21CFLAGS_mt76x02_trace.o := -I$(src)
9
10mt76-y := \
11 mmio.o util.o trace.o dma.o mac80211.o debugfs.o eeprom.o \
12 tx.o agg-rx.o mcu.o
13
14mt76-$(CONFIG_PCI) += pci.o
15mt76-$(CONFIG_NL80211_TESTMODE) += testmode.o
16
17mt76-usb-y := usb.o usb_trace.o
18mt76-sdio-y := sdio.o sdio_txrx.o
19
20CFLAGS_trace.o := -I$(src)
21CFLAGS_usb_trace.o := -I$(src)
22CFLAGS_mt76x02_trace.o := -I$(src)
23CFLAGS_mt792x_trace.o := -I$(src)
22
23mt76x02-lib-y := mt76x02_util.o mt76x02_mac.o mt76x02_mcu.o \
24 mt76x02_eeprom.o mt76x02_phy.o mt76x02_mmio.o \
25 mt76x02_txrx.o mt76x02_trace.o mt76x02_debugfs.o \
26 mt76x02_dfs.o mt76x02_beacon.o
27
28mt76x02-usb-y := mt76x02_usb_mcu.o mt76x02_usb_core.o
29
30mt76-connac-lib-y := mt76_connac_mcu.o mt76_connac_mac.o mt76_connac3_mac.o
31
24
25mt76x02-lib-y := mt76x02_util.o mt76x02_mac.o mt76x02_mcu.o \
26 mt76x02_eeprom.o mt76x02_phy.o mt76x02_mmio.o \
27 mt76x02_txrx.o mt76x02_trace.o mt76x02_debugfs.o \
28 mt76x02_dfs.o mt76x02_beacon.o
29
30mt76x02-usb-y := mt76x02_usb_mcu.o mt76x02_usb_core.o
31
32mt76-connac-lib-y := mt76_connac_mcu.o mt76_connac_mac.o mt76_connac3_mac.o
33
34mt792x-lib-y := mt792x_core.o mt792x_mac.o mt792x_trace.o
35
32obj-$(CONFIG_MT76x0_COMMON) += mt76x0/
33obj-$(CONFIG_MT76x2_COMMON) += mt76x2/
34obj-$(CONFIG_MT7603E) += mt7603/
35obj-$(CONFIG_MT7615_COMMON) += mt7615/
36obj-$(CONFIG_MT7915E) += mt7915/
37obj-$(CONFIG_MT7921_COMMON) += mt7921/
38obj-$(CONFIG_MT7996E) += mt7996/
36obj-$(CONFIG_MT76x0_COMMON) += mt76x0/
37obj-$(CONFIG_MT76x2_COMMON) += mt76x2/
38obj-$(CONFIG_MT7603E) += mt7603/
39obj-$(CONFIG_MT7615_COMMON) += mt7615/
40obj-$(CONFIG_MT7915E) += mt7915/
41obj-$(CONFIG_MT7921_COMMON) += mt7921/
42obj-$(CONFIG_MT7996E) += mt7996/