1 2DEVDIR= ${SRCTOP}/sys/contrib/dev/mediatek/mt76/mt7915 3 4.PATH: ${DEVDIR} 5 6KMOD= if_mt7915 7 8# Common stuff. 9SRCS= init.c main.c mac.c mcu.c mmio.c eeprom.c 10SRCS+= pci.c dma.c 11 12# SOC+6E stuff. 13#SRCS+= soc.c 14 15.if defined(WITH_DEBUGFS) && ${WITH_DEBUGFS} > 0 16SRCS+= debugfs.c 17CFLAGS+= -DCONFIG_MT7915_DEBUGFS=${WITH_DEBUGFS} 18.endif 19 20CFLAGS+= -DKBUILD_MODNAME='"mt7915"' 21CFLAGS+= -I${DEVDIR} 22 23.include <bsd.kmod.mk> 24