mirror of
https://github.com/opnsense/src.git
synced 2026-04-10 11:58:54 -04:00
Approved by: markj (cddl/contrib changes) Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41961 (cherry picked from commit f53355131f65d64e7643d734dbcd4fb2a5de20ed)
35 lines
788 B
Makefile
35 lines
788 B
Makefile
DEVATH12KDIR= ${SRCTOP}/sys/contrib/dev/athk/ath12k
|
|
|
|
.PATH: ${DEVATH12KDIR}
|
|
|
|
WITH_CONFIG_ATH12K_TRACING= 0
|
|
|
|
KMOD= if_ath12k
|
|
|
|
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 dp_mon.c debug.c
|
|
SRCS+= ce.c peer.c dbring.c hw.c
|
|
|
|
SRCS+= mhi.c pci.c
|
|
|
|
.if defined(WITH_CONFIG_ATH12K_TRACING) && ${WITH_CONFIG_ATH12K_TRACING} > 0
|
|
CFLAGS+= -DCONFIG_ATH12K_TRACING=${WITH_CONFIG_ATH12K_TRACING}
|
|
SRCS+= trace.c
|
|
.endif
|
|
|
|
# Other
|
|
SRCS+= ${LINUXKPI_GENSRCS}
|
|
SRCS+= opt_wlan.h opt_inet6.h opt_inet.h opt_acpi.h
|
|
|
|
CFLAGS+= -DKBUILD_MODNAME='"ath12k"'
|
|
|
|
CFLAGS+= -I${DEVATH12KDIR}
|
|
CFLAGS+= -I${DEVATH12KDIR}/..
|
|
CFLAGS+= ${LINUXKPI_INCLUDES}
|
|
# Helpful after fresh imports.
|
|
#CFLAGS+= -ferror-limit=0
|
|
|
|
CFLAGS+= -DCONFIG_ATH12K_DEBUG
|
|
|
|
.include <bsd.kmod.mk>
|