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 $(src) \ 10 -I $(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 fwvid.o \ 24 feature.o \ 25 btcoex.o \ 26 vendor.o \ 27 pno.o \ 28 xtlv.o 29brcmfmac-$(CONFIG_BRCMFMAC_PROTO_BCDC) += \ 30 bcdc.o \ 31 fwsignal.o 32brcmfmac-$(CONFIG_BRCMFMAC_PROTO_MSGBUF) += \ 33 commonring.o \ 34 flowring.o \ 35 msgbuf.o 36brcmfmac-$(CONFIG_BRCMFMAC_SDIO) += \ 37 sdio.o \ 38 bcmsdh.o 39brcmfmac-$(CONFIG_BRCMFMAC_USB) += \ 40 usb.o 41brcmfmac-$(CONFIG_BRCMFMAC_PCIE) += \ 42 pcie.o 43brcmfmac-$(CONFIG_BRCMDBG) += \ 44 debug.o 45brcmfmac-$(CONFIG_BRCM_TRACING) += \ 46 tracepoint.o 47brcmfmac-$(CONFIG_OF) += \ 48 of.o 49brcmfmac-$(CONFIG_DMI) += \ 50 dmi.o 51brcmfmac-$(CONFIG_ACPI) += \ 52 acpi.o 53 54ifeq ($(CONFIG_BRCMFMAC),m) 55obj-m += wcc/ 56obj-m += cyw/ 57obj-m += bca/ 58else 59brcmfmac-$(CONFIG_BRCMFMAC) += wcc/core.o 60brcmfmac-$(CONFIG_BRCMFMAC) += cyw/core.o 61brcmfmac-$(CONFIG_BRCMFMAC) += bca/core.o 62endif 63