Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.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         ibss.o \
16         iface.o \
17         rate.o \
18         michael.o \
19         tkip.o \
20         aes_cmac.o \
21         aes_gmac.o \
22         fils_aead.o \
23         cfg.o \
24         ethtool.o \
25         rx.o \
26         spectmgmt.o \
27         tx.o \
28         key.o \
29         util.o \
30         wme.o \
31         chan.o \
32         trace.o mlme.o \
33         tdls.o \
34         ocb.o
35
36 mac80211-$(CONFIG_MAC80211_LEDS) += led.o
37 mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
38         debugfs.o \
39         debugfs_sta.o \
40         debugfs_netdev.o \
41         debugfs_key.o
42
43 mac80211-$(CONFIG_MAC80211_MESH) += \
44         mesh.o \
45         mesh_pathtbl.o \
46         mesh_plink.o \
47         mesh_hwmp.o \
48         mesh_sync.o \
49         mesh_ps.o
50
51 mac80211-$(CONFIG_PM) += pm.o
52
53 CFLAGS_trace.o := -I$(src)
54
55 rc80211_minstrel-y := rc80211_minstrel.o
56 rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_debugfs.o
57
58 rc80211_minstrel_ht-y := rc80211_minstrel_ht.o
59 rc80211_minstrel_ht-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_ht_debugfs.o
60
61 mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
62 mac80211-$(CONFIG_MAC80211_RC_MINSTREL_HT) += $(rc80211_minstrel_ht-y)
63
64 ccflags-y += -DDEBUG