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
18ccflags-y += \
19	-Idrivers/net/wireless/broadcom/brcm80211/brcmfmac	\
20	-Idrivers/net/wireless/broadcom/brcm80211/include
21
22obj-$(CONFIG_BRCMFMAC) += brcmfmac.o
23brcmfmac-objs += \
24		cfg80211.o \
25		chip.o \
26		fwil.o \
27		fweh.o \
28		fwsignal.o \
29		p2p.o \
30		proto.o \
31		common.o \
32		core.o \
33		firmware.o \
34		feature.o \
35		btcoex.o \
36		vendor.o \
37		pno.o
38brcmfmac-$(CONFIG_BRCMFMAC_PROTO_BCDC) += \
39		bcdc.o
40brcmfmac-$(CONFIG_BRCMFMAC_PROTO_MSGBUF) += \
41		commonring.o \
42		flowring.o \
43		msgbuf.o
44brcmfmac-$(CONFIG_BRCMFMAC_SDIO) += \
45		sdio.o \
46		bcmsdh.o
47brcmfmac-$(CONFIG_BRCMFMAC_USB) += \
48		usb.o
49brcmfmac-$(CONFIG_BRCMFMAC_PCIE) += \
50		pcie.o
51brcmfmac-$(CONFIG_BRCMDBG) += \
52		debug.o
53brcmfmac-$(CONFIG_BRCM_TRACING) += \
54		tracepoint.o
55brcmfmac-$(CONFIG_OF) += \
56		of.o
57