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 | |
| 13 | ccflags-y += -I$(src)/ -DEXPORT_SYMTAB -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 | -DWILC_PLATFORM=WILC_LINUXKERNEL -Wno-unused-function -DUSE_WIRELESS \ |
| 17 | -DWILC_DEBUGFS |
| 18 | #ccflags-y += -DTCP_ACK_FILTER |
| 19 | |
| 20 | ccflags-$(CONFIG_WILC1000_PREALLOCATE_DURING_SYSTEM_BOOT) += -DMEMORY_STATIC \ |
| 21 | -DWILC_PREALLOC_AT_BOOT |
| 22 | |
| 23 | ccflags-$(CONFIG_WILC1000_PREALLOCATE_AT_LOADING_DRIVER) += -DMEMORY_STATIC \ |
| 24 | -DWILC_PREALLOC_AT_INSMOD |
| 25 | |
| 26 | ccflags-$(CONFIG_WILC1000_DYNAMICALLY_ALLOCATE_MEMROY) += -DWILC_NORMAL_ALLOC |
| 27 | |
| 28 | |
| 29 | wilc1000-objs := wilc_wfi_netdevice.o wilc_wfi_cfgoperations.o linux_wlan.o linux_mon.o \ |
| 30 | wilc_memory.o wilc_msgqueue.o wilc_semaphore.o wilc_sleep.o wilc_strutils.o \ |
| 31 | wilc_thread.o wilc_time.o wilc_timer.o coreconfigurator.o host_interface.o \ |
| 32 | fifo_buffer.o wilc_sdio.o wilc_spi.o wilc_wlan_cfg.o wilc_debugfs.o |
| 33 | |
| 34 | wilc1000-$(CONFIG_WILC1000_SDIO) += linux_wlan_sdio.o |
| 35 | wilc1000-$(CONFIG_WILC1000_SPI) += linux_wlan_spi.o |
| 36 | |
| 37 | WILC1000_SRC_VERSION = 10.0 |
| 38 | PATCHLEVEL = 2 |
| 39 | WILC1000_FW_VERSION = 0 |
| 40 | |
| 41 | ccflags-y += -D__DRIVER_VERSION__=\"$(WILC1000_SRC_VERSION).$(PATCHLEVEL)\" |