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)/phy \
21	-I $(srctree)/$(src)/../include
22
23brcmsmac-y := \
24	mac80211_if.o \
25	ucode_loader.o \
26	ampdu.o \
27	antsel.o \
28	channel.o \
29	main.o \
30	phy_shim.o \
31	pmu.o \
32	rate.o \
33	stf.o \
34	aiutils.o \
35	phy/phy_cmn.o \
36	phy/phy_lcn.o \
37	phy/phy_n.o \
38	phy/phytbl_lcn.o \
39	phy/phytbl_n.o \
40	phy/phy_qmath.o \
41	dma.o \
42	brcms_trace_events.o \
43	debug.o
44
45brcmsmac-$(CONFIG_BRCMSMAC_LEDS) += led.o
46
47obj-$(CONFIG_BRCMSMAC)	+= brcmsmac.o
48