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