GNU Linux-libre 4.9.301-gnu1
[releases.git] / drivers / net / wireless / ath / ath10k / Makefile
1 obj-$(CONFIG_ATH10K) += ath10k_core.o
2 ath10k_core-y += mac.o \
3                  debug.o \
4                  core.o \
5                  htc.o \
6                  htt.o \
7                  htt_rx.o \
8                  htt_tx.o \
9                  txrx.o \
10                  wmi.o \
11                  wmi-tlv.o \
12                  bmi.o \
13                  hw.o \
14                  p2p.o \
15                  swap.o
16
17 ath10k_core-$(CONFIG_ATH10K_DEBUGFS) += spectral.o
18 ath10k_core-$(CONFIG_NL80211_TESTMODE) += testmode.o
19 ath10k_core-$(CONFIG_ATH10K_TRACING) += trace.o
20 ath10k_core-$(CONFIG_THERMAL) += thermal.o
21 ath10k_core-$(CONFIG_MAC80211_DEBUGFS) += debugfs_sta.o
22 ath10k_core-$(CONFIG_PM) += wow.o
23
24 obj-$(CONFIG_ATH10K_PCI) += ath10k_pci.o
25 ath10k_pci-y += pci.o \
26                 ce.o
27
28 ath10k_pci-$(CONFIG_ATH10K_AHB) += ahb.o
29
30 # for tracing framework to find trace.h
31 CFLAGS_trace.o := -I$(src)