Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 1 | obj-$(CONFIG_WILC1000) += wilc1000.o |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 2 | |
| 3 | ccflags-$(CONFIG_WILC1000_SDIO) += -DWILC_SDIO -DCOMPLEMENT_BOOT |
| 4 | ccflags-$(CONFIG_WILC1000_HW_OOB_INTR) += -DWILC_SDIO_IRQ_GPIO |
| 5 | ccflags-$(CONFIG_WILC1000_SPI) += -DWILC_SPI |
| 6 | |
| 7 | ccflags-y += -DSTA_FIRMWARE=\"atmel/wilc1000_fw.bin\" \ |
| 8 | -DAP_FIRMWARE=\"atmel/wilc1000_ap_fw.bin\" \ |
| 9 | -DP2P_CONCURRENCY_FIRMWARE=\"atmel/wilc1000_p2p_fw.bin\" |
| 10 | |
Arnd Bergmann | e14af67 | 2015-06-01 21:06:42 +0200 | [diff] [blame] | 11 | ccflags-y += -I$(src)/ -D__CHECK_ENDIAN__ -DWILC_ASIC_A0 \ |
Kim, Leo | 721c985 | 2015-09-08 17:08:03 +0900 | [diff] [blame] | 12 | -Wno-unused-function -DWILC_DEBUGFS |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 13 | #ccflags-y += -DTCP_ACK_FILTER |
| 14 | |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 15 | ccflags-$(CONFIG_WILC1000_PREALLOCATE_AT_LOADING_DRIVER) += -DMEMORY_STATIC \ |
| 16 | -DWILC_PREALLOC_AT_INSMOD |
| 17 | |
| 18 | ccflags-$(CONFIG_WILC1000_DYNAMICALLY_ALLOCATE_MEMROY) += -DWILC_NORMAL_ALLOC |
| 19 | |
| 20 | |
Tony Cho | 1625d21 | 2015-07-28 17:47:20 +0900 | [diff] [blame] | 21 | wilc1000-objs := wilc_wfi_cfgoperations.o linux_wlan.o linux_mon.o \ |
Glen Lee | d363409 | 2015-09-10 12:03:05 +0900 | [diff] [blame] | 22 | wilc_msgqueue.o \ |
Greg Kroah-Hartman | 9eb0664 | 2015-08-17 11:10:55 -0700 | [diff] [blame] | 23 | coreconfigurator.o host_interface.o \ |
Tony Cho | 60bd100 | 2015-10-12 16:56:04 +0900 | [diff] [blame] | 24 | wilc_sdio.o wilc_spi.o wilc_wlan_cfg.o wilc_debugfs.o \ |
| 25 | wilc_wlan.o |
Johnny Kim | c5c77ba | 2015-05-11 14:30:56 +0900 | [diff] [blame] | 26 | |
| 27 | wilc1000-$(CONFIG_WILC1000_SDIO) += linux_wlan_sdio.o |
| 28 | wilc1000-$(CONFIG_WILC1000_SPI) += linux_wlan_spi.o |