Merge branch 'for-linus' of git://git.kernel.dk/linux-block
[pandora-kernel.git] / drivers / staging / brcm80211 / brcmsmac / 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         -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/include
29
30 BRCMSMAC_OFILES := \
31         mac80211_if.o \
32         ucode_loader.o \
33         alloc.o \
34         ampdu.o \
35         antsel.o \
36         bmac.o \
37         channel.o \
38         main.o \
39         phy_shim.o \
40         pmu.o \
41         rate.o \
42         stf.o \
43         aiutils.o \
44         phy/phy_cmn.o \
45         phy/phy_lcn.o \
46         phy/phy_n.o \
47         phy/phytbl_lcn.o \
48         phy/phytbl_n.o \
49         phy/phy_qmath.o \
50         otp.o \
51         srom.o \
52         dma.o \
53         nicpci.o
54
55 MODULEPFX := brcmsmac
56
57 obj-$(CONFIG_BRCMSMAC)  += $(MODULEPFX).o
58 $(MODULEPFX)-objs       = $(BRCMSMAC_OFILES)