blob: c35adf4bc70b72e584969b6bfd4bae251d21b7fe [file] [log] [blame]
Arend van Spriel5b435de2011-10-05 13:19:03 +02001#
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
18ccflags-y += \
19 -Idrivers/net/wireless/brcm80211/brcmfmac \
20 -Idrivers/net/wireless/brcm80211/include
21
Arend van Spriel71bb2442012-02-09 21:09:08 +010022ccflags-y += -D__CHECK_ENDIAN__
23
Arend van Spriel5b435de2011-10-05 13:19:03 +020024obj-$(CONFIG_BRCMFMAC) += brcmfmac.o
Franky Linf72ae312011-12-16 18:37:20 -080025brcmfmac-objs += \
26 wl_cfg80211.o \
Arend van Spriel20c9c9b2014-01-29 15:32:15 +010027 chip.o \
Hante Meuleman81f5dcb2012-10-22 10:36:14 -070028 fwil.o \
Arend van Spriel5c36b992012-11-14 18:46:05 -080029 fweh.o \
Arend van Spriel349e7102013-03-03 12:45:28 +010030 fwsignal.o \
Arend van Spriel9f440b72013-02-08 15:53:36 +010031 p2p.o \
Hante Meuleman85b84132013-11-29 12:25:16 +010032 proto.o \
Hante Meuleman5d406f82013-11-29 12:46:29 +010033 bcdc.o \
Hante Meuleman9a1bb602014-07-30 13:20:03 +020034 commonring.o \
35 flowring.o \
36 msgbuf.o \
Franky Linf72ae312011-12-16 18:37:20 -080037 dhd_common.o \
Piotr Haber61730d42013-04-23 12:53:12 +020038 dhd_linux.o \
Arend van Sprieldabedab2014-05-27 12:56:17 +020039 firmware.o \
Arend van Sprielc08437b2014-07-12 08:49:39 +020040 feature.o \
Franky Lin1bacb042014-06-21 12:11:16 +020041 btcoex.o \
42 vendor.o
Franky Linf72ae312011-12-16 18:37:20 -080043brcmfmac-$(CONFIG_BRCMFMAC_SDIO) += \
44 dhd_sdio.o \
Arend van Spriel20c9c9b2014-01-29 15:32:15 +010045 bcmsdh.o
Arend van Spriel71bb2442012-02-09 21:09:08 +010046brcmfmac-$(CONFIG_BRCMFMAC_USB) += \
47 usb.o
Hante Meuleman9e37f042014-07-30 13:20:04 +020048brcmfmac-$(CONFIG_BRCMFMAC_PCIE) += \
49 pcie.o
Arend van Sprield319a7c2012-06-09 22:51:43 +020050brcmfmac-$(CONFIG_BRCMDBG) += \
Arend van Spriel9f440b72013-02-08 15:53:36 +010051 dhd_dbg.o
Arend van Spriele5483572013-03-03 12:45:21 +010052brcmfmac-$(CONFIG_BRCM_TRACING) += \
53 tracepoint.o
Chen-Yu Tsai61f663d2014-06-29 16:16:59 +020054brcmfmac-$(CONFIG_OF) += \
55 of.o