opnsense-src/sys/modules/mt76/mt7921/Makefile
Warner Losh e9ac41698b Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
2024-07-15 16:43:39 -06:00

27 lines
472 B
Makefile

DEVDIR= ${SRCTOP}/sys/contrib/dev/mediatek/mt76/mt7921
.PATH: ${DEVDIR}
KMOD= if_mt7921
# 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
# SDIO stuff.
#SRCS+= sdio.c sdio_mac.c sdio_mcu.c
.if defined(WITH_DEBUGFS) && ${WITH_DEBUGFS} > 0
SRCS+= debugfs.c
CFLAGS+= -DCONFIG_MT7921_DEBUGFS=${WITH_DEBUGFS}
.endif
CFLAGS+= -DKBUILD_MODNAME='"mt7921"'
CFLAGS+= -I${DEVDIR}
.include <bsd.kmod.mk>