mirror of
https://github.com/opnsense/src.git
synced 2026-02-24 10:20:24 -05:00
Add framework to build if_mt7915 and if_mt7921 with LinuxKPI as well as initial man pages for the two mt76 chipset drivers. MFC after: 2 months
26 lines
546 B
Makefile
26 lines
546 B
Makefile
# $FreeBSD$
|
|
|
|
KMOD= mt76_core
|
|
|
|
# Basic stuff.
|
|
SRCS= mac80211.c mmio.c util.c dma.c eeprom.c tx.c agg-rx.c mcu.c
|
|
#SRCS+= trace.c
|
|
|
|
# Bus stuff.
|
|
SRCS+= pci.c
|
|
#SRCS+= usb.c # usb_trace.c
|
|
#SRCS+= sdio.c sdio_txrx.c
|
|
|
|
# Connac-Lib stuff.
|
|
SRCS+= mt76_connac_mac.c mt76_connac_mcu.c
|
|
|
|
# MT76x02-Lib stuff (we don't need; that's for older chipsets not yet supported)
|
|
|
|
.if defined(WITH_DEBUGFS) && ${WITH_DEBUGFS} > 0
|
|
SRCS+= debugfs.c
|
|
.endif
|
|
|
|
CFLAGS+= -DKBUILD_MODNAME='"mt76_core"'
|
|
CFLAGS+= -DCONFIG_MAC80211_DEBUGFS=${WITH_DEBUGFS}
|
|
|
|
.include <bsd.kmod.mk>
|