From e176af8f136c50d2057f33ac0ca2119d1feb0276 Mon Sep 17 00:00:00 2001 From: Stanislaw Gruszka Date: Tue, 31 Jul 2018 14:41:02 +0200 Subject: [PATCH] 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 Signed-off-by: Kalle Valo --- Makefile | 1 + mt76x0/Makefile | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 mt76x0/Makefile diff --git a/Makefile b/Makefile index 6fcab5da..a4eb9575 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ EXTRA_CFLAGS += -Werror obj-m := mt76.o mt76x2-common.o mt76x2e.o mt7603e.o obj-$(CONFIG_MT76_USB) += mt76-usb.o obj-$(CONFIG_MT76X2U) += mt76x2u.o +obj-$(CONFIG_MT76x0U) += mt76x0/ mt76-y := \ mmio.o util.o trace.o dma.o mac80211.o debugfs.o eeprom.o tx.o agg-rx.o diff --git a/mt76x0/Makefile b/mt76x0/Makefile new file mode 100644 index 00000000..78439082 --- /dev/null +++ b/mt76x0/Makefile @@ -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)