diff options
Diffstat (limited to 'drivers/net/wireless/eagle/Makefile')
-rwxr-xr-x | drivers/net/wireless/eagle/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/drivers/net/wireless/eagle/Makefile b/drivers/net/wireless/eagle/Makefile new file mode 100755 index 00000000..81a9c460 --- /dev/null +++ b/drivers/net/wireless/eagle/Makefile @@ -0,0 +1,43 @@ +# copyright (c) 2011 - 2012 espressif system +# linux_sdio +#ifneq ($(KERNELRELEASE),) +# kbuild part of makefile +ARCH := arm +CROSS_COMPILE := arm_1103_le- +KSRC := $(shell pwd)/../../../../ +MODPATH := $(shell pwd) +DRIVER_NAME := eagle + +EXTRA_CFLAGS += -DDEBUG -DSIP_DEBUG -DFAST_TX_STATUS -DANDROID -DKERNEL_IV_WAR -DRX_SENDUP_SYNC -DDEBUGFS -DHAS_FW -DTEST_MODE -DESP_ANDROID_LOGGER -DINIT_DATA_CONF -DESP_ACK_INTERRUPT -DESP_ACK_LATER -DP2P_CONCURRENT -DESP_USE_SDIO + +obj-m := $(DRIVER_NAME).o +$(DRIVER_NAME)-y += esp_debug.o +$(DRIVER_NAME)-y += sdio_sif_esp.o +$(DRIVER_NAME)-y += spi_sif_esp.o +$(DRIVER_NAME)-y += esp_io.o +$(DRIVER_NAME)-y += esp_android.o +$(DRIVER_NAME)-y += esp_main.o +$(DRIVER_NAME)-y += esp_sip.o +$(DRIVER_NAME)-y += esp_ext.o +$(DRIVER_NAME)-y += esp_ctrl.o +$(DRIVER_NAME)-y += esp_mac80211.o +$(DRIVER_NAME)-y += esp_debug.o +$(DRIVER_NAME)-y += esp_utils.o +$(DRIVER_NAME)-y += esp_pm.o +$(DRIVER_NAME)-y += testmode.o + +modules: + $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(MODPATH) modules + +.PHONE:clean +clean: + $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(MODPATH) clean + +#else +#KDIR ?= /lib/modules/`uname -r`/build +##KDIR ?= /home/espressif/src/sdio/cleanup + +#default: +# $(MAKE) -C $(KDIR) M=$$PWD + +#endif |