1DEVDIR= ${SRCTOP}/sys/contrib/dev/mediatek/mt76/mt7921 2 3.PATH: ${DEVDIR} 4 5KMOD= if_mt7921 6 7# Common stuff. 8SRCS= init.c main.c mac.c mcu.c 9 10# PCI stuff. 11SRCS+= pci.c pci_mac.c pci_mcu.c 12 13# USB stuff. 14#SRCS+= usb.c 15 16# SDIO stuff. 17#SRCS+= sdio.c sdio_mac.c sdio_mcu.c 18 19.if defined(WITH_DEBUGFS) && ${WITH_DEBUGFS} > 0 20SRCS+= debugfs.c 21CFLAGS+= -DCONFIG_MT7921_DEBUGFS=${WITH_DEBUGFS} 22.endif 23 24CFLAGS+= -DKBUILD_MODNAME='"mt7921"' 25CFLAGS+= -I${DEVDIR} 26 27.include <bsd.kmod.mk> 28