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 18ccflags-y := \ 19 -D__CHECK_ENDIAN__ \ 20 -Idrivers/net/wireless/broadcom/brcm80211/brcmsmac \ 21 -Idrivers/net/wireless/broadcom/brcm80211/brcmsmac/phy \ 22 -Idrivers/net/wireless/broadcom/brcm80211/include 23 24brcmsmac-y := \ 25 mac80211_if.o \ 26 ucode_loader.o \ 27 ampdu.o \ 28 antsel.o \ 29 channel.o \ 30 main.o \ 31 phy_shim.o \ 32 pmu.o \ 33 rate.o \ 34 stf.o \ 35 aiutils.o \ 36 phy/phy_cmn.o \ 37 phy/phy_lcn.o \ 38 phy/phy_n.o \ 39 phy/phytbl_lcn.o \ 40 phy/phytbl_n.o \ 41 phy/phy_qmath.o \ 42 dma.o \ 43 brcms_trace_events.o \ 44 debug.o 45 46brcmsmac-$(CONFIG_BCMA_DRIVER_GPIO) += led.o 47 48obj-$(CONFIG_BRCMSMAC) += brcmsmac.o 49