ath10k: add testmode
[cascardo/linux.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                  bmi.o
12
13 ath10k_core-$(CONFIG_ATH10K_DEBUGFS) += spectral.o
14 ath10k_core-$(CONFIG_NL80211_TESTMODE) += testmode.o
15 ath10k_core-$(CONFIG_ATH10K_TRACING) += trace.o
16
17 obj-$(CONFIG_ATH10K_PCI) += ath10k_pci.o
18 ath10k_pci-y += pci.o \
19                 ce.o
20
21 # for tracing framework to find trace.h
22 CFLAGS_trace.o := -I$(src)