Henry Ptasinski | cf2b448 | 2010-09-20 22:33:12 -0700 | [diff] [blame] | 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 | |
Greg Kroah-Hartman | 449c674 | 2010-09-23 16:28:53 -0700 | [diff] [blame] | 18 | ccflags-y := \ |
Henry Ptasinski | 0761043 | 2010-09-29 14:50:49 -0700 | [diff] [blame] | 19 | -DARP_OFFLOAD_SUPPORT \ |
Greg Kroah-Hartman | 449c674 | 2010-09-23 16:28:53 -0700 | [diff] [blame] | 20 | -DBCMLXSDMMC \ |
| 21 | -DBCMPLATFORM_BUS \ |
Henry Ptasinski | 0761043 | 2010-09-29 14:50:49 -0700 | [diff] [blame] | 22 | -DBCMSDIO \ |
Henry Ptasinski | 0761043 | 2010-09-29 14:50:49 -0700 | [diff] [blame] | 23 | -DBDC \ |
Greg Kroah-Hartman | 449c674 | 2010-09-23 16:28:53 -0700 | [diff] [blame] | 24 | -DBRCM_FULLMAC \ |
Henry Ptasinski | 0761043 | 2010-09-29 14:50:49 -0700 | [diff] [blame] | 25 | -DDHD_FIRSTREAD=64 \ |
| 26 | -DDHD_SCHED \ |
| 27 | -DDHD_SDALIGN=64 \ |
| 28 | -DEMBEDDED_PLATFORM \ |
Henry Ptasinski | 0761043 | 2010-09-29 14:50:49 -0700 | [diff] [blame] | 29 | -DMAX_HDR_READ=64 \ |
| 30 | -DMMC_SDIO_ABORT \ |
| 31 | -DPKT_FILTER_SUPPORT \ |
| 32 | -DSHOW_EVENTS \ |
Arend van Spriel | 2ea0f6f | 2011-01-25 16:53:39 +0100 | [diff] [blame] | 33 | -DTOE |
| 34 | |
| 35 | ccflags-$(CONFIG_BRCMDBG) += -DDHD_DEBUG |
| 36 | |
| 37 | ccflags-y += \ |
| 38 | -Idrivers/staging/brcm80211/brcmfmac \ |
Henry Ptasinski | fc84a71 | 2011-05-09 16:33:06 +0200 | [diff] [blame] | 39 | -Idrivers/staging/brcm80211/include |
Henry Ptasinski | cf2b448 | 2010-09-20 22:33:12 -0700 | [diff] [blame] | 40 | |
Arend van Spriel | f8559b692 | 2011-01-21 10:54:48 +0100 | [diff] [blame] | 41 | DHDOFILES = \ |
| 42 | wl_cfg80211.o \ |
| 43 | wl_iw.o \ |
| 44 | dhd_cdc.o \ |
| 45 | dhd_common.o \ |
| 46 | dhd_custom_gpio.o \ |
| 47 | dhd_sdio.o \ |
| 48 | dhd_linux.o \ |
| 49 | dhd_linux_sched.o \ |
| 50 | bcmsdh.o \ |
| 51 | bcmsdh_linux.o \ |
| 52 | bcmsdh_sdmmc.o \ |
Henry Ptasinski | b33f0e2 | 2011-05-10 22:25:29 +0200 | [diff] [blame] | 53 | bcmsdh_sdmmc_linux.o |
Henry Ptasinski | cf2b448 | 2010-09-20 22:33:12 -0700 | [diff] [blame] | 54 | |
Arend van Spriel | 0c250c0 | 2011-05-13 11:59:30 +0200 | [diff] [blame^] | 55 | obj-$(CONFIG_BRCMFMAC) += brcmfmac.o |
Henry Ptasinski | cf2b448 | 2010-09-20 22:33:12 -0700 | [diff] [blame] | 56 | brcmfmac-objs += $(DHDOFILES) |