Skip to content

Commit

Permalink
mt76: Kconfig and Makefile for mt76x0 driver
Browse files Browse the repository at this point in the history
Add Kconfig and Makefiles for mt76x0 driver. Now the driver
can be build.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
  • Loading branch information
Stanislaw Gruszka authored and Kalle Valo committed Aug 2, 2018
1 parent 87e022d commit 52abb14
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/net/wireless/mediatek/mt76/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ config MT76x2_COMMON
tristate
depends on MT76_CORE

config MT76x0U
tristate "MediaTek MT76x0U (USB) support"
depends on MAC80211
depends on USB
help
This adds support for MT7610U-based wireless USB dongles.

config MT76x2E
tristate "MediaTek MT76x2E (PCIe) support"
select MT76_CORE
Expand Down
1 change: 1 addition & 0 deletions drivers/net/wireless/mediatek/mt76/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
obj-$(CONFIG_MT76_CORE) += mt76.o
obj-$(CONFIG_MT76_USB) += mt76-usb.o
obj-$(CONFIG_MT76x0U) += mt76x0/
obj-$(CONFIG_MT76x2_COMMON) += mt76x2-common.o
obj-$(CONFIG_MT76x2E) += mt76x2e.o
obj-$(CONFIG_MT76x2U) += mt76x2u.o
Expand Down
7 changes: 7 additions & 0 deletions drivers/net/wireless/mediatek/mt76/mt76x0/Makefile
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 52abb14

Please sign in to comment.