Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / drivers / net / wireless / ath / ath9k / Makefile
1 # SPDX-License-Identifier: ISC
2 ath9k-y +=      beacon.o \
3                 gpio.o \
4                 init.o \
5                 main.o \
6                 recv.o \
7                 xmit.o \
8                 link.o \
9                 antenna.o \
10                 channel.o
11
12 ath9k-$(CONFIG_ATH9K_BTCOEX_SUPPORT) += mci.o
13 ath9k-$(CONFIG_ATH9K_PCI) += pci.o
14 ath9k-$(CONFIG_ATH9K_AHB) += ahb.o
15 ath9k-$(CONFIG_ATH9K_DFS_DEBUGFS) += dfs_debug.o
16 ath9k-$(CONFIG_ATH9K_DFS_CERTIFIED) += dfs.o
17 ath9k-$(CONFIG_ATH9K_TX99) += tx99.o
18 ath9k-$(CONFIG_ATH9K_WOW) += wow.o
19 ath9k-$(CONFIG_ATH9K_HWRNG) += rng.o
20
21 ath9k-$(CONFIG_ATH9K_DEBUGFS) += debug.o
22
23 ath9k-$(CONFIG_ATH9K_STATION_STATISTICS) += debug_sta.o
24
25 obj-$(CONFIG_ATH9K) += ath9k.o
26
27 ath9k_hw-y:=    \
28                 ar9002_hw.o \
29                 ar9003_hw.o \
30                 hw.o \
31                 ar9003_phy.o \
32                 ar9002_phy.o \
33                 ar5008_phy.o \
34                 ar9002_calib.o \
35                 ar9003_calib.o \
36                 calib.o \
37                 eeprom.o \
38                 eeprom_def.o \
39                 eeprom_4k.o \
40                 eeprom_9287.o \
41                 ani.o \
42                 mac.o \
43                 ar9002_mac.o \
44                 ar9003_mac.o \
45                 ar9003_eeprom.o \
46                 ar9003_paprd.o
47
48 ath9k_hw-$(CONFIG_ATH9K_WOW) += ar9003_wow.o
49
50 ath9k_hw-$(CONFIG_ATH9K_BTCOEX_SUPPORT) += btcoex.o \
51                                            ar9003_mci.o \
52                                            ar9003_aic.o
53
54 ath9k_hw-$(CONFIG_ATH9K_PCOEM) += ar9003_rtt.o
55
56 ath9k_hw-$(CONFIG_ATH9K_DYNACK) += dynack.o
57
58 obj-$(CONFIG_ATH9K_HW) += ath9k_hw.o
59
60 obj-$(CONFIG_ATH9K_COMMON) += ath9k_common.o
61 ath9k_common-y:=        common.o \
62                         common-init.o \
63                         common-beacon.o \
64
65 ath9k_common-$(CONFIG_ATH9K_COMMON_DEBUG) += common-debug.o
66 ath9k_common-$(CONFIG_ATH9K_COMMON_SPECTRAL) += common-spectral.o
67
68 ath9k_htc-y +=  htc_hst.o \
69                 hif_usb.o \
70                 wmi.o \
71                 htc_drv_txrx.o \
72                 htc_drv_main.o \
73                 htc_drv_beacon.o \
74                 htc_drv_init.o \
75                 htc_drv_gpio.o
76
77 ath9k_htc-$(CONFIG_ATH9K_HTC_DEBUGFS) += htc_drv_debug.o
78
79 obj-$(CONFIG_ATH9K_HTC) += ath9k_htc.o