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	-DWLC_HIGH				\
20	-DWLC_LOW				\
21	-DSTA					\
22	-DWME					\
23	-DWL11N					\
24	-DDBAND					\
25	-DBCMNVRAMR				\
26	-Idrivers/staging/brcm80211/brcmsmac \
27	-Idrivers/staging/brcm80211/brcmsmac/phy \
28	-Idrivers/staging/brcm80211/util \
29	-Idrivers/staging/brcm80211/include
30
31BRCMSMAC_OFILES := \
32	wl_mac80211.o \
33	wl_ucode_loader.o \
34	wlc_alloc.o \
35	wlc_ampdu.o \
36	wlc_antsel.o \
37	wlc_bmac.o \
38	wlc_channel.o \
39	wlc_main.o \
40	wlc_phy_shim.o \
41	wlc_rate.o \
42	wlc_stf.o \
43	phy/wlc_phy_cmn.o \
44	phy/wlc_phy_lcn.o \
45	phy/wlc_phy_n.o \
46	phy/wlc_phytbl_lcn.o \
47	phy/wlc_phytbl_n.o \
48	../util/aiutils.o \
49	../util/siutils.o \
50	../util/bcmutils.o \
51	../util/bcmwifi.o \
52	../util/bcmotp.o \
53	../util/bcmsrom.o \
54	../util/hnddma.o \
55	../util/hndpmu.o \
56	../util/nicpci.o \
57	../util/qmath.o \
58	../util/nvram/nvram_ro.o
59
60MODULEPFX := brcmsmac
61
62obj-m	+= $(MODULEPFX).o
63$(MODULEPFX)-objs	= $(BRCMSMAC_OFILES)
64