GNU Linux-libre 6.8.7-gnu
[releases.git] / drivers / net / wireless / ath / ath11k / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause-Clear
2 obj-$(CONFIG_ATH11K) += ath11k.o
3 ath11k-y += core.o \
4             hal.o \
5             hal_tx.o \
6             hal_rx.o \
7             wmi.o \
8             mac.o \
9             reg.o \
10             htc.o \
11             qmi.o \
12             dp.o  \
13             dp_tx.o \
14             dp_rx.o \
15             debug.o \
16             ce.o \
17             peer.o \
18             dbring.o \
19             hw.o \
20             pcic.o \
21             fw.o
22
23 ath11k-$(CONFIG_ATH11K_DEBUGFS) += debugfs.o debugfs_htt_stats.o debugfs_sta.o
24 ath11k-$(CONFIG_NL80211_TESTMODE) += testmode.o
25 ath11k-$(CONFIG_ATH11K_TRACING) += trace.o
26 ath11k-$(CONFIG_THERMAL) += thermal.o
27 ath11k-$(CONFIG_ATH11K_SPECTRAL) += spectral.o
28 ath11k-$(CONFIG_PM) += wow.o
29
30 obj-$(CONFIG_ATH11K_AHB) += ath11k_ahb.o
31 ath11k_ahb-y += ahb.o
32
33 obj-$(CONFIG_ATH11K_PCI) += ath11k_pci.o
34 ath11k_pci-y += mhi.o pci.o
35
36 # for tracing framework to find trace.h
37 CFLAGS_trace.o := -I$(src)