summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/Makefile')
-rw-r--r--drivers/net/wireless/ath/ath10k/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/Makefile b/drivers/net/wireless/ath/ath10k/Makefile
new file mode 100644
index 0000000..f1899cc
--- /dev/null
+++ b/drivers/net/wireless/ath/ath10k/Makefile
@@ -0,0 +1,31 @@
+obj-$(CPTCFG_ATH10K) += ath10k_core.o
+ath10k_core-y += mac.o \
+ debug.o \
+ core.o \
+ htc.o \
+ htt.o \
+ htt_rx.o \
+ htt_tx.o \
+ txrx.o \
+ wmi.o \
+ wmi-tlv.o \
+ bmi.o \
+ hw.o \
+ p2p.o \
+ swap.o
+
+ath10k_core-$(CPTCFG_ATH10K_DEBUGFS) += spectral.o
+ath10k_core-$(CPTCFG_NL80211_TESTMODE) += testmode.o
+ath10k_core-$(CPTCFG_ATH10K_TRACING) += trace.o
+ath10k_core-$(CONFIG_THERMAL) += thermal.o
+ath10k_core-$(CPTCFG_MAC80211_DEBUGFS) += debugfs_sta.o
+ath10k_core-$(CONFIG_PM) += wow.o
+
+obj-$(CPTCFG_ATH10K_PCI) += ath10k_pci.o
+ath10k_pci-y += pci.o \
+ ce.o
+
+ath10k_pci-$(CPTCFG_ATH10K_AHB) += ahb.o
+
+# for tracing framework to find trace.h
+CFLAGS_trace.o := -I$(src)