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.
41 -DARP_OFFLOAD_SUPPORT \
42 -DPKT_FILTER_SUPPORT \
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 \
59 obj-
$(CONFIG_BRCMFMAC
) += brcmfmac.o
60 brcmfmac-objs
+= $(DHDOFILES
)
61 EXTRA_LDFLAGS
+= --strip-debug