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