40 lines
1.9 KiB
Makefile
40 lines
1.9 KiB
Makefile
|
# bcmdhd
|
||
|
# -DDHDTHREAD -DDHD_GPL -DDHD_SCHED -DDHD_DEBUG -DSDTEST -DBDC -DTOE \
|
||
|
# -DDHD_BCMEVENTS -DSHOW_EVENTS -DDONGLEOVERLAYS -DBCMDBG \
|
||
|
# -DCUSTOMER_HW2 -DOOB_INTR_ONLY -DHW_OOB \
|
||
|
# -DMMC_SDIO_ABORT -DBCMSDIO -DBCMLXSDMMC -DBCMPLATFORM_BUS -DWLP2P \
|
||
|
# -DNEW_COMPAT_WIRELESS -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT \
|
||
|
# -DKEEP_ALIVE -DCSCAN -DGET_CUSTOM_MAC_ENABLE -DPKT_FILTER_SUPPORT \
|
||
|
# -DEMBEDDED_PLATFORM -DENABLE_INSMOD_NO_FW_LOAD -DPNO_SUPPORT \
|
||
|
|
||
|
DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER \
|
||
|
-DBCMDONGLEHOST -DUNRELEASEDCHIP -DBCMDMA32 -DBCMFILEIMAGE \
|
||
|
-DDHDTHREAD -DDHD_DEBUG -DSDTEST -DBDC -DTOE \
|
||
|
-DDHD_BCMEVENTS -DSHOW_EVENTS -DPROP_TXSTATUS -DBCMDBG \
|
||
|
-DCUSTOMER_HW2 -DOOB_INTR_ONLY -DHW_OOB \
|
||
|
-DMMC_SDIO_ABORT -DBCMSDIO -DBCMLXSDMMC -DBCMPLATFORM_BUS -DWLP2P \
|
||
|
-DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT \
|
||
|
-DKEEP_ALIVE -DGET_CUSTOM_MAC_ENABLE -DPKT_FILTER_SUPPORT \
|
||
|
-DEMBEDDED_PLATFORM -DENABLE_INSMOD_NO_FW_LOAD -DPNO_SUPPORT \
|
||
|
-Idrivers/net/wireless/bcmdhd -Idrivers/net/wireless/bcmdhd/include
|
||
|
|
||
|
DHDOFILES = aiutils.o bcmsdh_sdmmc_linux.o dhd_linux.o siutils.o bcmutils.o \
|
||
|
dhd_linux_sched.o dhd_sdio.o bcmwifi_channels.o bcmevent.o hndpmu.o \
|
||
|
bcmsdh.o dhd_cdc.o bcmsdh_linux.o dhd_common.o linux_osl.o \
|
||
|
bcmsdh_sdmmc.o dhd_custom_gpio.o sbutils.o wldev_common.o wl_android.o
|
||
|
|
||
|
obj-$(CONFIG_BCMDHD) += bcmdhd.o
|
||
|
bcmdhd-objs += $(DHDOFILES)
|
||
|
ifneq ($(CONFIG_WIRELESS_EXT),)
|
||
|
bcmdhd-objs += wl_iw.o
|
||
|
DHDCFLAGS += -DSOFTAP -DUSE_IW
|
||
|
endif
|
||
|
ifneq ($(CONFIG_CFG80211),)
|
||
|
bcmdhd-objs += wl_cfg80211.o wl_cfgp2p.o wl_linux_mon.o dhd_cfg80211.o
|
||
|
DHDCFLAGS += -DWL_CFG80211 -DWL_CFG80211_STA_EVENT -DWL_ENABLE_P2P_IF
|
||
|
endif
|
||
|
EXTRA_CFLAGS = $(DHDCFLAGS)
|
||
|
ifeq ($(CONFIG_BCMDHD),m)
|
||
|
EXTRA_LDFLAGS += --strip-debug
|
||
|
endif
|