Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 1 | obj-$(CONFIG_WILC1000) += wilc1000.o |
| 2 | obj-$(CONFIG_WILC1000_PREALLOCATE_DURING_SYSTEM_BOOT) += wilc_exported_buf.o |
| 3 | |
| 4 | |
| 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 |
| 8 | |
| 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\" |
| 12 | |
Arnd Bergmann | e14af67 | 2015-06-01 21:06:42 +0200 | [diff] [blame^] | 13 | ccflags-y += -I$(src)/ -D__CHECK_ENDIAN__ -DWILC_ASIC_A0 \ |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 14 | -DPLL_WORKAROUND -DCONNECT_DIRECT -DAGING_ALG \ |
| 15 | -DWILC_PARSE_SCAN_IN_HOST -DDISABLE_PWRSAVE_AND_SCAN_DURING_IP \ |
Arnd Bergmann | 544c69d | 2015-05-29 22:52:13 +0200 | [diff] [blame] | 16 | -Wno-unused-function -DUSE_WIRELESS -DWILC_DEBUGFS |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 17 | #ccflags-y += -DTCP_ACK_FILTER |
| 18 | |
| 19 | ccflags-$(CONFIG_WILC1000_PREALLOCATE_DURING_SYSTEM_BOOT) += -DMEMORY_STATIC \ |
| 20 | -DWILC_PREALLOC_AT_BOOT |
| 21 | |
| 22 | ccflags-$(CONFIG_WILC1000_PREALLOCATE_AT_LOADING_DRIVER) += -DMEMORY_STATIC \ |
| 23 | -DWILC_PREALLOC_AT_INSMOD |
| 24 | |
| 25 | ccflags-$(CONFIG_WILC1000_DYNAMICALLY_ALLOCATE_MEMROY) += -DWILC_NORMAL_ALLOC |
| 26 | |
| 27 | |
| 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_semaphore.o wilc_sleep.o wilc_strutils.o \ |
Arnd Bergmann | f155bcf | 2015-06-01 21:06:34 +0200 | [diff] [blame] | 30 | wilc_timer.o coreconfigurator.o host_interface.o \ |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 31 | fifo_buffer.o wilc_sdio.o wilc_spi.o wilc_wlan_cfg.o wilc_debugfs.o |
| 32 | |
| 33 | wilc1000-$(CONFIG_WILC1000_SDIO) += linux_wlan_sdio.o |
| 34 | wilc1000-$(CONFIG_WILC1000_SPI) += linux_wlan_spi.o |