mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 06:42:56 -04:00
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
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
DEVATH11KDIR= ${SRCTOP}/sys/contrib/dev/athk/ath11k
|
|
|
|
.PATH: ${DEVATH11KDIR}
|
|
|
|
WITH_DEBUGFS= 0 # Does not yet compile
|
|
WITH_CONFIG_PM= 0
|
|
|
|
KMOD= if_ath11k
|
|
|
|
SRCS+= core.c hal.c hal_tx.c hal_rx.c
|
|
SRCS+= wmi.c mac.c reg.c htc.c qmi.c
|
|
SRCS+= dp.c dp_tx.c dp_rx.c debug.c
|
|
SRCS+= ce.c peer.c dbring.c hw.c
|
|
|
|
SRCS+= mhi.c pci.c pcic.c
|
|
|
|
.if defined(WITH_CONFIG_PM) && ${WITH_CONFIG_PM} > 0
|
|
CFLAGS+= -DCONFIG_PM=${WITH_CONFIG_PM}
|
|
SRCS+= wow.c
|
|
.endif
|
|
|
|
# Other
|
|
SRCS+= ${LINUXKPI_GENSRCS}
|
|
SRCS+= opt_wlan.h opt_inet6.h opt_inet.h opt_acpi.h
|
|
|
|
CFLAGS+= -DKBUILD_MODNAME='"ath11k"'
|
|
|
|
CFLAGS+= -I${DEVATH11KDIR}
|
|
CFLAGS+= -I${DEVATH11KDIR}/..
|
|
CFLAGS+= ${LINUXKPI_INCLUDES}
|
|
# Helpful after fresh imports.
|
|
#CFLAGS+= -ferror-limit=0
|
|
|
|
CFLAGS+= -DCONFIG_ATH11K_DEBUG
|
|
|
|
.if defined(WITH_DEBUGFS) && ${WITH_DEBUGFS} > 0
|
|
SRCS+= debugfs.c debugfs_htt_stats.c debugfs_sta.c
|
|
CFLAGS+= -DCONFIG_ATH11K_DEBUGFS=${WITH_DEBUGFS}
|
|
CFLAGS+= -DCONFIG_MAC80211_DEBUGFS=${WITH_DEBUGFS}
|
|
.endif
|
|
|
|
#CFLAGS+= -DCONFIG_ATH11K_SPECTRAL
|
|
#CFLAGS+= -DCONFIG_ATH11K_TRACING
|
|
#CFLAGS+= -DCONFIG_NL80211_TESTMODE
|
|
#CFLAGS+= -DCONFIG_PM
|
|
#CFLAGS+= -DCONFIG_THERMAL
|
|
|
|
.include <bsd.kmod.mk>
|