diff options
author | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
commit | 871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch) | |
tree | 8718f573808810c2a1e8cb8fb6ac469093ca2784 /drivers/net/wireless/bcmdhd.1.88.45.x.cn/Makefile | |
parent | 9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff) | |
download | FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2 FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip |
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized.
Changes are basically to make it look like kernel structure.
Diffstat (limited to 'drivers/net/wireless/bcmdhd.1.88.45.x.cn/Makefile')
-rwxr-xr-x | drivers/net/wireless/bcmdhd.1.88.45.x.cn/Makefile | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcmdhd.1.88.45.x.cn/Makefile b/drivers/net/wireless/bcmdhd.1.88.45.x.cn/Makefile new file mode 100755 index 00000000..0060b2f1 --- /dev/null +++ b/drivers/net/wireless/bcmdhd.1.88.45.x.cn/Makefile @@ -0,0 +1,108 @@ +# bcmdhd +# 1. WL_ENABLE_P2P_IF must be removed if kernel version is 3.8 later, otherwise please add it. +# 2. WL_IFACE_COMB_NUM_CHANNELS must be added if Android version is 4.4 with Kernel version 3.0~3.4, +# otherwise please remove it. + +MODULE_NAME = bcmdhd_ap6476_kk +CONFIG_MACH_ODROID_4210 = y +CONFIG_BCMDHD_OOB = y +CONFIG_BCMDHD_AG = n +CONFIG_WIRELESS_EXT = y +CONFIG_CFG80211 = y +CONFIG_DHD_USE_SCHED_SCAN = n +#ARCH := arm +#CROSS_COMPILE := arm_1103_le- +ARCH := arm +CROSS_COMPILE := arm_1103_le- +KSRC := $(shell pwd)/../../../../ + +DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER \ + -DBCMDONGLEHOST -DUNRELEASEDCHIP -DBCMDMA32 -DWLBTAMP -DBCMFILEIMAGE \ + -DDHDTHREAD -DDHD_DEBUG -DSDTEST -DBDC -DTOE \ + -DDHD_BCMEVENTS -DSHOW_EVENTS -DBCMDBG \ + -DMMC_SDIO_ABORT -DBCMSDIO -DBCMLXSDMMC -DBCMPLATFORM_BUS \ + -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT \ + -DKEEP_ALIVE -DPKT_FILTER_SUPPORT \ + -DEMBEDDED_PLATFORM -DENABLE_INSMOD_NO_FW_LOAD -DPNO_SUPPORT \ + -DDHD_USE_IDLECOUNT -DSET_RANDOM_MAC_SOFTAP -DVSDB \ + -DWL_CFG80211_VSDB_PRIORITIZE_SCAN_REQUEST -DSDIO_CRC_ERROR_FIX \ + -DESCAN_RESULT_PATCH -DHT40_GO -DPASS_ARP_PACKET -DSUPPORT_PM2_ONLY \ + -DDHD_DONOT_FORWARD_BCMEVENT_AS_NETWORK_PKT -DAMPDU_HOSTREORDER \ + -DCUSTOM_SDIO_F2_BLKSIZE=128 -DWL_SDO -DWLTDLS \ + -DPROP_TXSTATUS -DPROP_TXSTATUS_VSDB \ + -DDHDTCPACK_SUPPRESS \ + -DWL_SUPPORT_BACKPORTED_KPATCHES \ + -Idrivers/net/wireless/bcmdhd.1.88.45.x.cn -Idrivers/net/wireless/bcmdhd.1.88.45.x.cn/include + +DHDOFILES = aiutils.o bcmsdh_sdmmc_linux.o dhd_linux.o siutils.o bcmutils.o \ + dhd_linux_sched.o bcmwifi_channels.o dhd_sdio.o bcmevent.o dhd_bta.o hndpmu.o \ + bcmsdh.o dhd_cdc.o bcmsdh_linux.o dhd_common.o dhd_wlfc.o dhd_ip.o linux_osl.o \ + bcmsdh_sdmmc.o dhd_custom_gpio.o sbutils.o wldev_common.o wl_android.o \ + dhd_pno.o dhd_config.o + +obj-$(CONFIG_BCMDHD) += $(MODULE_NAME).o +$(MODULE_NAME)-objs += $(DHDOFILES) + +ifeq ($(CONFIG_MACH_ODROID_4210),y) +DHDOFILES += dhd_gpio.o +#DHDCFLAGS += -Iarch/arm/plat-samsung/include +DHDCFLAGS += -DCUSTOMER_HW -DCONFIG_MACH_ODROID_4210 +#DHDCFLAGS += -DBCMWAPI_WPI -DBCMWAPI_WAI +endif + +ifeq ($(CONFIG_BCMDHD_OOB),y) +DHDCFLAGS += -DOOB_INTR_ONLY -DHW_OOB -DCUSTOMER_OOB +#ifeq ($(CONFIG_BCMDHD_DISABLE_WOWLAN),y) +DHDCFLAGS += -DDISABLE_WOWLAN +#endif +ifeq ($(CONFIG_BCMDHD_POWER_OFF_IN_SUSPEND),y) +DHDCFLAGS += -DPOWER_OFF_IN_SUSPEND +endif +else +DHDCFLAGS += -DSDIO_ISR_THREAD +endif + +ifeq ($(CONFIG_BCMDHD_AG),y) +DHDCFLAGS += -DBAND_AG +endif + +ifeq ($(CONFIG_DHD_USE_STATIC_BUF),y) +DHDCFLAGS += -DSTATIC_WL_PRIV_STRUCT +endif + +ifneq ($(CONFIG_WIRELESS_EXT),) +$(MODULE_NAME)-objs += wl_iw.o +DHDCFLAGS += -DSOFTAP -DWL_WIRELESS_EXT -DUSE_IW +endif +ifneq ($(CONFIG_CFG80211),) +$(MODULE_NAME)-objs += wl_cfg80211.o wl_cfgp2p.o wl_linux_mon.o dhd_cfg80211.o +DHDCFLAGS += -DWL_CFG80211 -DWLP2P -DWL_CFG80211_STA_EVENT -DWL_ENABLE_P2P_IF +DHDCFLAGS += -DWL_IFACE_COMB_NUM_CHANNELS +DHDCFLAGS += -DCUSTOM_ROAM_TRIGGER_SETTING=-65 +DHDCFLAGS += -DCUSTOM_ROAM_DELTA_SETTING=15 +DHDCFLAGS += -DCUSTOM_KEEP_ALIVE_SETTING=28000 +DHDCFLAGS += -DCUSTOM_PNO_EVENT_LOCK_xTIME=7 +DHDCFLAGS += -DWL_SUPPORT_AUTO_CHANNEL +endif +ifneq ($(CONFIG_DHD_USE_SCHED_SCAN),) +DHDCFLAGS += -DWL_SCHED_SCAN +endif +EXTRA_CFLAGS = $(DHDCFLAGS) +ifeq ($(CONFIG_BCMDHD),m) +EXTRA_LDFLAGS += --strip-debug +endif + +all: modules + +modules: + $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd) modules + +strip: + $(CROSS_COMPILE)strip $(MODULE_NAME).ko --strip-unneeded + +.PHONY: modules clean + +clean: + rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~ + rm -fr .tmp_versions + rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order |