1DEVDIR= ${SRCTOP}/sys/contrib/dev/mediatek/mt76/mt7615 2 3.PATH: ${DEVDIR} 4 5WITH_DEBUGFS= 0 6WITH_DEV_COREDUMP= 0 7 8KMOD= if_mt7615 9 10# Common stuff. 11SRCS= init.c main.c mac.c mcu.c eeprom.c 12 13# PCIe (7622_WMAC ignored) 14SRCS+= dma.c mmio.c pci.c pci_init.c pci_mac.c 15 16# USB + SDIO ignored currently. 17 18.if defined(WITH_DEBUGFS) && ${WITH_DEBUGFS} > 0 19SRCS+= debugfs.c 20CFLAGS+= -DCONFIG_MT7915_DEBUGFS=${WITH_DEBUGFS} 21.endif 22 23CFLAGS+= -DKBUILD_MODNAME='"mt7615"' 24CFLAGS+= -I${DEVDIR} 25 26.include <bsd.kmod.mk> 27