staging: brcm80211: moved code around for cleanup
[wandboard.git] / drivers / staging / brcm80211 / brcmfmac / Makefile
blob13df7c3c79d31aadb151de07a518a070eacb5625
2 # Makefile fragment for Broadcom 802.11n Networking Device Driver
4 # Copyright (c) 2010 Broadcom Corporation
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.
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.
18 ccflags-y := \
19 -DARP_OFFLOAD_SUPPORT \
20 -DBCMDBG \
21 -DBCMLXSDMMC \
22 -DBCMPLATFORM_BUS \
23 -DBCMSDIO \
24 -DBDC \
25 -DBRCM_FULLMAC \
26 -DDHD_DEBUG \
27 -DDHD_FIRSTREAD=64 \
28 -DDHD_SCHED \
29 -DDHD_SDALIGN=64 \
30 -DEMBEDDED_PLATFORM \
31 -DMAX_HDR_READ=64 \
32 -DMMC_SDIO_ABORT \
33 -DPKT_FILTER_SUPPORT \
34 -DSHOW_EVENTS \
35 -DTOE \
36 -Idrivers/staging/brcm80211/brcmfmac \
37 -Idrivers/staging/brcm80211/include \
38 -Idrivers/staging/brcm80211/util
40 DHDOFILES = \
41 wl_cfg80211.o \
42 wl_iw.o \
43 dhd_cdc.o \
44 dhd_common.o \
45 dhd_custom_gpio.o \
46 dhd_sdio.o \
47 dhd_linux.o \
48 dhd_linux_sched.o \
49 bcmsdh.o \
50 bcmsdh_linux.o \
51 bcmsdh_sdmmc.o \
52 bcmsdh_sdmmc_linux.o \
53 ../util/linux_osl.o \
54 ../util/aiutils.o \
55 ../util/siutils.o \
56 ../util/sbutils.o \
57 ../util/bcmutils.o \
58 ../util/bcmwifi.o \
59 ../util/hndpmu.o
61 obj-m += brcmfmac.o
62 brcmfmac-objs += $(DHDOFILES)