Linux 4.2.1
[linux/fpc-iii.git] / drivers / staging / wilc1000 / Makefile
bloba78c4d529a58af7e741040bbffcd17ffa67bfa8e
1 obj-$(CONFIG_WILC1000) += wilc1000.o
2 obj-$(CONFIG_WILC1000_PREALLOCATE_DURING_SYSTEM_BOOT) += wilc_exported_buf.o
5 ccflags-$(CONFIG_WILC1000_SDIO) += -DWILC_SDIO -DCOMPLEMENT_BOOT
6 ccflags-$(CONFIG_WILC1000_HW_OOB_INTR) += -DWILC_SDIO_IRQ_GPIO
7 ccflags-$(CONFIG_WILC1000_SPI) += -DWILC_SPI
9 ccflags-y += -DSTA_FIRMWARE=\"atmel/wilc1000_fw.bin\" \
10 -DAP_FIRMWARE=\"atmel/wilc1000_ap_fw.bin\" \
11 -DP2P_CONCURRENCY_FIRMWARE=\"atmel/wilc1000_p2p_fw.bin\"
13 ccflags-y += -I$(src)/ -D__CHECK_ENDIAN__ -DWILC_ASIC_A0 \
14 -DPLL_WORKAROUND -DCONNECT_DIRECT -DAGING_ALG \
15 -DWILC_PARSE_SCAN_IN_HOST -DDISABLE_PWRSAVE_AND_SCAN_DURING_IP \
16 -Wno-unused-function -DUSE_WIRELESS -DWILC_DEBUGFS
17 #ccflags-y += -DTCP_ACK_FILTER
19 ccflags-$(CONFIG_WILC1000_PREALLOCATE_DURING_SYSTEM_BOOT) += -DMEMORY_STATIC \
20 -DWILC_PREALLOC_AT_BOOT
22 ccflags-$(CONFIG_WILC1000_PREALLOCATE_AT_LOADING_DRIVER) += -DMEMORY_STATIC \
23 -DWILC_PREALLOC_AT_INSMOD
25 ccflags-$(CONFIG_WILC1000_DYNAMICALLY_ALLOCATE_MEMROY) += -DWILC_NORMAL_ALLOC
28 wilc1000-objs := wilc_wfi_netdevice.o wilc_wfi_cfgoperations.o linux_wlan.o linux_mon.o \
29 wilc_memory.o wilc_msgqueue.o wilc_sleep.o wilc_strutils.o \
30 wilc_timer.o coreconfigurator.o host_interface.o \
31 fifo_buffer.o wilc_sdio.o wilc_spi.o wilc_wlan_cfg.o wilc_debugfs.o
33 wilc1000-$(CONFIG_WILC1000_SDIO) += linux_wlan_sdio.o
34 wilc1000-$(CONFIG_WILC1000_SPI) += linux_wlan_spi.o