mt76: Kconfig and Makefile for mt76x0 driver

Add Kconfig and Makefiles for mt76x0 driver. Now the driver
can be build.

Signed-off-by: Stanislaw Gruszka <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
This commit is contained in:
Stanislaw Gruszka
2018-09-11 13:49:19 +02:00
committed by Felix Fietkau
parent 5892efd49a
commit e176af8f13
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@ EXTRA_CFLAGS += -Werror
obj-m := mt76.o mt76x2-common.o mt76x2e.o mt7603e.o obj-m := mt76.o mt76x2-common.o mt76x2e.o mt7603e.o
obj-$(CONFIG_MT76_USB) += mt76-usb.o obj-$(CONFIG_MT76_USB) += mt76-usb.o
obj-$(CONFIG_MT76X2U) += mt76x2u.o obj-$(CONFIG_MT76X2U) += mt76x2u.o
obj-$(CONFIG_MT76x0U) += mt76x0/
mt76-y := \ mt76-y := \
mmio.o util.o trace.o dma.o mac80211.o debugfs.o eeprom.o tx.o agg-rx.o mmio.o util.o trace.o dma.o mac80211.o debugfs.o eeprom.o tx.o agg-rx.o
+7
View File
@@ -0,0 +1,7 @@
obj-$(CONFIG_MT76x0U) += mt76x0.o
mt76x0-objs = \
usb.o init.o main.o mcu.o trace.o dma.o eeprom.o phy.o \
mac.o util.o debugfs.o tx.o core.o
# ccflags-y := -DDEBUG
CFLAGS_trace.o := -I$(src)