mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: introduce mt76x2-common module
In order to remove usb dependency from pcie code, add mt76x2-common as a container of shared code between mt76x2 and mt76x2u. Add eeprom code to mt76x2-common module Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
66f394984d
commit
d099694a3d
@@ -1,14 +1,17 @@
|
||||
EXTRA_CFLAGS += -Werror
|
||||
|
||||
obj-m := mt76.o mt76x2e.o mt7603e.o
|
||||
obj-m := mt76.o mt76x2-common.o mt76x2e.o mt7603e.o
|
||||
|
||||
mt76-y := \
|
||||
mmio.o util.o trace.o dma.o mac80211.o debugfs.o eeprom.o tx.o agg-rx.o
|
||||
|
||||
mt76x2-common-y := \
|
||||
mt76x2_eeprom.o
|
||||
|
||||
mt76x2e-y := \
|
||||
mt76x2_pci.o mt76x2_dma.o \
|
||||
mt76x2_main.o mt76x2_init.o mt76x2_debugfs.o mt76x2_tx.o \
|
||||
mt76x2_core.o mt76x2_mac.o mt76x2_eeprom.o mt76x2_mcu.o mt76x2_phy.o \
|
||||
mt76x2_core.o mt76x2_mac.o mt76x2_mcu.o mt76x2_phy.o \
|
||||
mt76x2_dfs.o mt76x2_trace.o
|
||||
|
||||
mt7603e-y := \
|
||||
|
||||
Reference in New Issue
Block a user