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	-I $(srctree)/$(src) \
20	-I $(srctree)/$(src)/../include
21
22obj-$(CONFIG_BRCMFMAC) += brcmfmac.o
23brcmfmac-objs += \
24		cfg80211.o \
25		chip.o \
26		fwil.o \
27		fweh.o \
28		p2p.o \
29		proto.o \
30		common.o \
31		core.o \
32		firmware.o \
33		feature.o \
34		btcoex.o \
35		vendor.o \
36		pno.o
37brcmfmac-$(CONFIG_BRCMFMAC_PROTO_BCDC) += \
38		bcdc.o \
39		fwsignal.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
57brcmfmac-$(CONFIG_DMI) += \
58		dmi.o
59