GNU Linux-libre 4.19.286-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_SPECTRAL) += 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 ath10k_core-$(CONFIG_DEV_COREDUMP) += coredump.o
25 ath10k_core-$(CONFIG_ATH10K_CE) += ce.o
26
27 obj-$(CONFIG_ATH10K_PCI) += ath10k_pci.o
28 ath10k_pci-y += pci.o
29
30 ath10k_pci-$(CONFIG_ATH10K_AHB) += ahb.o
31
32 obj-$(CONFIG_ATH10K_SDIO) += ath10k_sdio.o
33 ath10k_sdio-y += sdio.o
34
35 obj-$(CONFIG_ATH10K_USB) += ath10k_usb.o
36 ath10k_usb-y += usb.o
37
38 obj-$(CONFIG_ATH10K_SNOC) += ath10k_snoc.o
39 ath10k_snoc-y += snoc.o
40
41 # for tracing framework to find trace.h
42 CFLAGS_trace.o := -I$(src)