Staging: brcm80211: remove driver specific -W options
[wandboard.git] / drivers / staging / brcm80211 / brcmfmac / Makefile
blob09196e9789e544bc53e0bf187e3e85cc6a077293
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 -DLINUX \
20 -DBCMDRIVER \
21 -DBCMDONGLEHOST \
22 -DDHDTHREAD \
23 -DBCMWPA2 \
24 -DUNRELEASEDCHIP \
25 -Dlinux \
26 -DDHD_SDALIGN=64 \
27 -DMAX_HDR_READ=64 \
28 -DDHD_FIRSTREAD=64 \
29 -DDHD_GPL \
30 -DDHD_SCHED \
31 -DBDC \
32 -DTOE \
33 -DDHD_BCMEVENTS \
34 -DSHOW_EVENTS \
35 -DBCMSDIO \
36 -DDHD_GPL \
37 -DBCMLXSDMMC \
38 -DBCMPLATFORM_BUS \
39 -DOEM_CHROMIUMOS \
40 -DEMBEDDED_PLATFORM \
41 -DARP_OFFLOAD_SUPPORT \
42 -DPKT_FILTER_SUPPORT \
43 -DBRCM_FULLMAC \
44 -DCONFIG_CFG80211 \
45 -DMMC_SDIO_ABORT \
46 -DDHD_DEBUG_TRAP \
47 -DBCMDBG \
48 -DDHD_DEBUG \
49 -Idrivers/staging/brcm80211/brcmfmac \
50 -Idrivers/staging/brcm80211/brcmfmac/include \
51 -Idrivers/staging/brcm80211/include \
52 -Idrivers/staging/brcm80211/util
54 DHDOFILES = dhd_linux.o linux_osl.o bcmutils.o dhd_common.o dhd_custom_gpio.o \
55 wl_iw.o wl_cfg80211.o ../util/siutils.o ../util/sbutils.o ../util/aiutils.o ../util/hndpmu.o bcmwifi.o dhd_sdio.o \
56 dhd_linux_sched.o dhd_cdc.o bcmsdh_sdmmc.o bcmsdh.o bcmsdh_linux.o \
57 bcmsdh_sdmmc_linux.o
59 obj-$(CONFIG_BRCMFMAC) += brcmfmac.o
60 brcmfmac-objs += $(DHDOFILES)
61 EXTRA_LDFLAGS += --strip-debug