1# SPDX-License-Identifier: ISC
2#
3# Makefile fragment for Broadcom 802.11 Networking Device Driver
4#
5# Copyright (c) 2010 Broadcom Corporation
6#
7
8ccflags-y += \
9	-I $(srctree)/$(src) \
10	-I $(srctree)/$(src)/../include
11
12obj-$(CONFIG_BRCMFMAC) += brcmfmac.o
13brcmfmac-objs += \
14		cfg80211.o \
15		chip.o \
16		fwil.o \
17		fweh.o \
18		p2p.o \
19		proto.o \
20		common.o \
21		core.o \
22		firmware.o \
23		feature.o \
24		btcoex.o \
25		vendor.o \
26		pno.o \
27		xtlv.o
28brcmfmac-$(CONFIG_BRCMFMAC_PROTO_BCDC) += \
29		bcdc.o \
30		fwsignal.o
31brcmfmac-$(CONFIG_BRCMFMAC_PROTO_MSGBUF) += \
32		commonring.o \
33		flowring.o \
34		msgbuf.o
35brcmfmac-$(CONFIG_BRCMFMAC_SDIO) += \
36		sdio.o \
37		bcmsdh.o
38brcmfmac-$(CONFIG_BRCMFMAC_USB) += \
39		usb.o
40brcmfmac-$(CONFIG_BRCMFMAC_PCIE) += \
41		pcie.o
42brcmfmac-$(CONFIG_BRCMDBG) += \
43		debug.o
44brcmfmac-$(CONFIG_BRCM_TRACING) += \
45		tracepoint.o
46brcmfmac-$(CONFIG_OF) += \
47		of.o
48brcmfmac-$(CONFIG_DMI) += \
49		dmi.o
50