xref: /linux/drivers/net/wireless/ath/ath12k/Makefile (revision 37a93dd5c49b5fda807fd204edf2547c3493319c)
1# SPDX-License-Identifier: BSD-3-Clause-Clear
2obj-$(CONFIG_ATH12K) += ath12k.o
3ath12k-y += core.o \
4	    hal.o \
5	    wmi.o \
6	    mac.o \
7	    reg.o \
8	    htc.o \
9	    qmi.o \
10	    dp.o  \
11	    dp_tx.o \
12	    dp_rx.o \
13	    dp_htt.o \
14	    dp_peer.o \
15	    debug.o \
16	    ce.o \
17	    peer.o \
18	    dbring.o \
19	    mhi.o \
20	    pci.o \
21	    dp_mon.o \
22	    fw.o \
23	    p2p.o
24
25ath12k-$(CONFIG_ATH12K_AHB) += ahb.o
26
27obj-$(CONFIG_ATH12K) += wifi7/
28
29ath12k-$(CONFIG_ATH12K_DEBUGFS) += debugfs.o debugfs_htt_stats.o debugfs_sta.o
30ath12k-$(CONFIG_ACPI) += acpi.o
31ath12k-$(CONFIG_ATH12K_TRACING) += trace.o
32ath12k-$(CONFIG_PM) += wow.o
33ath12k-$(CONFIG_ATH12K_COREDUMP) += coredump.o
34ath12k-$(CONFIG_NL80211_TESTMODE) += testmode.o
35
36# for tracing framework to find trace.h
37CFLAGS_trace.o := -I$(src)
38