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