Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / net / mac80211 / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_MAC80211) += mac80211.o
3
4 # mac80211 objects
5 mac80211-y := \
6         main.o status.o \
7         driver-ops.o \
8         sta_info.o \
9         wep.o \
10         aead_api.o \
11         wpa.o \
12         scan.o offchannel.o \
13         ht.o agg-tx.o agg-rx.o \
14         vht.o \
15         he.o \
16         ibss.o \
17         iface.o \
18         rate.o \
19         michael.o \
20         tkip.o \
21         aes_cmac.o \
22         aes_gmac.o \
23         fils_aead.o \
24         cfg.o \
25         ethtool.o \
26         rx.o \
27         spectmgmt.o \
28         tx.o \
29         key.o \
30         util.o \
31         wme.o \
32         chan.o \
33         trace.o mlme.o \
34         tdls.o \
35         ocb.o
36
37 mac80211-$(CONFIG_MAC80211_LEDS) += led.o
38 mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
39         debugfs.o \
40         debugfs_sta.o \
41         debugfs_netdev.o \
42         debugfs_key.o
43
44 mac80211-$(CONFIG_MAC80211_MESH) += \
45         mesh.o \
46         mesh_pathtbl.o \
47         mesh_plink.o \
48         mesh_hwmp.o \
49         mesh_sync.o \
50         mesh_ps.o
51
52 mac80211-$(CONFIG_PM) += pm.o
53
54 CFLAGS_trace.o := -I$(src)
55
56 rc80211_minstrel-y := \
57         rc80211_minstrel.o \
58         rc80211_minstrel_ht.o
59
60 rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += \
61         rc80211_minstrel_debugfs.o \
62         rc80211_minstrel_ht_debugfs.o
63
64 mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
65
66 ccflags-y += -DDEBUG