GNU Linux-libre 4.9.306-gnu1
[releases.git] / drivers / net / wireless / broadcom / brcm80211 / brcmfmac / Makefile
1 #
2 # Makefile fragment for Broadcom 802.11n Networking Device Driver
3 #
4 # Copyright (c) 2010 Broadcom Corporation
5 #
6 # Permission to use, copy, modify, and/or distribute this software for any
7 # purpose with or without fee is hereby granted, provided that the above
8 # copyright notice and this permission notice appear in all copies.
9 #
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
13 # SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
15 # OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
16 # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17
18 ccflags-y += \
19         -Idrivers/net/wireless/broadcom/brcm80211/brcmfmac      \
20         -Idrivers/net/wireless/broadcom/brcm80211/include
21
22 ccflags-y += -D__CHECK_ENDIAN__
23
24 obj-$(CONFIG_BRCMFMAC) += brcmfmac.o
25 brcmfmac-objs += \
26                 cfg80211.o \
27                 chip.o \
28                 fwil.o \
29                 fweh.o \
30                 fwsignal.o \
31                 p2p.o \
32                 proto.o \
33                 common.o \
34                 core.o \
35                 firmware.o \
36                 feature.o \
37                 btcoex.o \
38                 vendor.o
39 brcmfmac-$(CONFIG_BRCMFMAC_PROTO_BCDC) += \
40                 bcdc.o
41 brcmfmac-$(CONFIG_BRCMFMAC_PROTO_MSGBUF) += \
42                 commonring.o \
43                 flowring.o \
44                 msgbuf.o
45 brcmfmac-$(CONFIG_BRCMFMAC_SDIO) += \
46                 sdio.o \
47                 bcmsdh.o
48 brcmfmac-$(CONFIG_BRCMFMAC_USB) += \
49                 usb.o
50 brcmfmac-$(CONFIG_BRCMFMAC_PCIE) += \
51                 pcie.o
52 brcmfmac-$(CONFIG_BRCMDBG) += \
53                 debug.o
54 brcmfmac-$(CONFIG_BRCM_TRACING) += \
55                 tracepoint.o
56 brcmfmac-$(CONFIG_OF) += \
57                 of.o