1DEVATH12KDIR= ${SRCTOP}/sys/contrib/dev/athk/ath12k 2 3.PATH: ${DEVATH12KDIR} 4 5WITH_CONFIG_ATH12K_TRACING= 0 6 7KMOD= if_ath12k 8 9SRCS+= core.c hal.c hal_tx.c hal_rx.c 10SRCS+= wmi.c mac.c reg.c htc.c qmi.c 11SRCS+= dp.c dp_tx.c dp_rx.c dp_mon.c debug.c 12SRCS+= ce.c peer.c dbring.c hw.c 13 14SRCS+= mhi.c pci.c 15 16.if defined(WITH_CONFIG_ATH12K_TRACING) && ${WITH_CONFIG_ATH12K_TRACING} > 0 17CFLAGS+= -DCONFIG_ATH12K_TRACING=${WITH_CONFIG_ATH12K_TRACING} 18SRCS+= trace.c 19.endif 20 21# Other 22SRCS+= ${LINUXKPI_GENSRCS} 23SRCS+= opt_wlan.h opt_inet6.h opt_inet.h opt_acpi.h 24 25CFLAGS+= -DKBUILD_MODNAME='"ath12k"' 26 27CFLAGS+= -I${DEVATH12KDIR} 28CFLAGS+= -I${DEVATH12KDIR}/.. 29CFLAGS+= ${LINUXKPI_INCLUDES} 30# Helpful after fresh imports. 31#CFLAGS+= -ferror-limit=0 32 33CFLAGS+= -DCONFIG_ATH12K_DEBUG 34 35.include <bsd.kmod.mk> 36