rtw89: turn on debugfs support

Following 07f6575585bf also turn on debugfs support for rtw89.

Sponnsored by:	The FreeBSD Foundation

(cherry picked from commit 446eab491e523e3d7586e11cb16448e524297da4)
This commit is contained in:
Bjoern A. Zeeb 2025-01-25 22:17:18 +00:00
parent 787787fa89
commit be330cd9f9

View file

@ -4,6 +4,7 @@ DEVRTW89DIR= ${SRCTOP}/sys/contrib/dev/rtw89
.PATH: ${DEVRTW89DIR}
WITH_CONFIG_PM= 0
WITH_DEBUGFS= 1
KMOD= if_rtw89
@ -43,7 +44,9 @@ CFLAGS+= -DLINUXKPI_VERSION=60800
CFLAGS+= -I${DEVRTW89DIR}
CFLAGS+= ${LINUXKPI_INCLUDES}
CFLAGS+= -DCONFIG_RTW89_DEBUGMSG
#CFLAGS+= -DCONFIG_RTW89_DEBUGFS
.if defined(WITH_DEBUGFS) && ${WITH_DEBUGFS} > 0
CFLAGS+= -DCONFIG_RTW89_DEBUGFS
.endif
#CFLAGS+= -ferror-limit=0