|
|
06c887 |
Index: src/drivers/net/wireless/mediatek/mt76/mt7921/Makefile
|
|
|
06c887 |
===================================================================
|
|
|
06c887 |
--- src.orig/drivers/net/wireless/mediatek/mt76/mt7921/Makefile 2022-01-30 05:38:12.755480439 +0100
|
|
|
06c887 |
+++ src/drivers/net/wireless/mediatek/mt76/mt7921/Makefile 2022-01-30 05:39:05.150986998 +0100
|
|
|
06c887 |
@@ -1,5 +1,7 @@
|
|
|
06c887 |
#SPDX-License-Identifier: ISC
|
|
|
06c887 |
|
|
|
06c887 |
+CONFIG_MT7921E := m
|
|
|
06c887 |
+
|
|
|
06c887 |
obj-$(CONFIG_MT7921E) += mt7921e.o
|
|
|
06c887 |
|
|
|
06c887 |
CFLAGS_trace.o := -I$(src)
|
|
|
06c887 |
Index: src/drivers/net/wireless/mediatek/mt76/Makefile
|
|
|
06c887 |
===================================================================
|
|
|
06c887 |
--- src.orig/drivers/net/wireless/mediatek/mt76/Makefile 2022-01-30 05:38:12.755480439 +0100
|
|
|
06c887 |
+++ src/drivers/net/wireless/mediatek/mt76/Makefile 2022-01-30 05:41:43.749493377 +0100
|
|
|
06c887 |
@@ -1,9 +1,8 @@
|
|
|
06c887 |
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
06c887 |
+CONFIG_MT76_CONNAC_LIB := m
|
|
|
06c887 |
+CONFIG_MT7921E := m
|
|
|
06c887 |
+
|
|
|
06c887 |
obj-$(CONFIG_MT76_CORE) += mt76.o
|
|
|
06c887 |
-obj-$(CONFIG_MT76_USB) += mt76-usb.o
|
|
|
06c887 |
-obj-$(CONFIG_MT76_SDIO) += mt76-sdio.o
|
|
|
06c887 |
-obj-$(CONFIG_MT76x02_LIB) += mt76x02-lib.o
|
|
|
06c887 |
-obj-$(CONFIG_MT76x02_USB) += mt76x02-usb.o
|
|
|
06c887 |
obj-$(CONFIG_MT76_CONNAC_LIB) += mt76-connac-lib.o
|
|
|
06c887 |
|
|
|
06c887 |
mt76-y := \
|
|
|
06c887 |
@@ -13,25 +12,8 @@
|
|
|
06c887 |
mt76-$(CONFIG_PCI) += pci.o
|
|
|
06c887 |
mt76-$(CONFIG_NL80211_TESTMODE) += testmode.o
|
|
|
06c887 |
|
|
|
06c887 |
-mt76-usb-y := usb.o usb_trace.o
|
|
|
06c887 |
-mt76-sdio-y := sdio.o
|
|
|
06c887 |
-
|
|
|
06c887 |
CFLAGS_trace.o := -I$(src)
|
|
|
06c887 |
-CFLAGS_usb_trace.o := -I$(src)
|
|
|
06c887 |
-CFLAGS_mt76x02_trace.o := -I$(src)
|
|
|
06c887 |
-
|
|
|
06c887 |
-mt76x02-lib-y := mt76x02_util.o mt76x02_mac.o mt76x02_mcu.o \
|
|
|
06c887 |
- mt76x02_eeprom.o mt76x02_phy.o mt76x02_mmio.o \
|
|
|
06c887 |
- mt76x02_txrx.o mt76x02_trace.o mt76x02_debugfs.o \
|
|
|
06c887 |
- mt76x02_dfs.o mt76x02_beacon.o
|
|
|
06c887 |
-
|
|
|
06c887 |
-mt76x02-usb-y := mt76x02_usb_mcu.o mt76x02_usb_core.o
|
|
|
06c887 |
|
|
|
06c887 |
mt76-connac-lib-y := mt76_connac_mcu.o mt76_connac_mac.o
|
|
|
06c887 |
|
|
|
06c887 |
-obj-$(CONFIG_MT76x0_COMMON) += mt76x0/
|
|
|
06c887 |
-obj-$(CONFIG_MT76x2_COMMON) += mt76x2/
|
|
|
06c887 |
-obj-$(CONFIG_MT7603E) += mt7603/
|
|
|
06c887 |
-obj-$(CONFIG_MT7615_COMMON) += mt7615/
|
|
|
06c887 |
-obj-$(CONFIG_MT7915E) += mt7915/
|
|
|
06c887 |
obj-$(CONFIG_MT7921E) += mt7921/
|