mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
Create mt7615-common module in order to collect shared code between usb and mmio code. Move the following source files in mt7615-common module: - main.c - init.c - mcu.c - mac.c - debugfs.c - eeprom.c - trace.c Create the following source files for mmio only source code and move them in mt7615e module: - pci_init.c - dma.c - pci_mac.c Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
13 lines
314 B
Makefile
13 lines
314 B
Makefile
#SPDX-License-Identifier: ISC
|
|
|
|
obj-$(CONFIG_MT7615_COMMON) += mt7615-common.o
|
|
obj-$(CONFIG_MT7615E) += mt7615e.o
|
|
|
|
CFLAGS_trace.o := -I$(src)
|
|
|
|
mt7615-common-y := main.o init.o mcu.o eeprom.o mac.o \
|
|
debugfs.o trace.o
|
|
|
|
mt7615e-y := pci.o pci_init.o dma.o pci_mac.o mmio.o
|
|
mt7615e-$(CONFIG_MT7622_WMAC) += soc.o
|