ESP8089 sdio premalloc default config
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rockchip_wlan / esp8089 / esp_premalloc / Makefile
1 # copyright (c) 2011 - 2012 espressif system
2 # linux_sdio
3 #ifneq ($(KERNELRELEASE),)
4 # kbuild part of makefile
5 ARCH := arm
6 CROSS_COMPILE := $(TOOLCHAIN_PREFIX)
7 KSRC := $(KERNEL_DIR)
8 MODPATH := $(shell pwd)
9 DRIVER_NAME := esp_prealloc
10
11 ####################### NORMAL OPTION ########################################
12 EXTRA_CFLAGS += -DESP_PRE_MEM              # normal mode, support SDIO
13 #EXTRA_CFLAGS += -DESP_PRE_MEM -DESP_SPI   # normal mode, support SPI
14 ##############################################################################
15
16 ####################### ADVANCE OPTION ###########################
17 #EXTRA_CFLAGS += -DESP_SLAB                # ex mode, most users unlikely use this mode, if someone use, please add this macro extractly
18 ##############################################################################
19 obj-y:= $(DRIVER_NAME).o
20 $(DRIVER_NAME)-y += esp_mem.o
21 $(DRIVER_NAME)-y += esp_slab.o
22 $(DRIVER_NAME)-y += esp_mem_init.o
23