From 9d40ac5867b9aefe0722bc1f110b965ff294d30d Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 10:00:36 +0800 Subject: add via modify part source code for wm8880 4.4 kitkat --- ANDROID_3.4.5/drivers/net/wireless/eagle/Makefile | 43 +++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 ANDROID_3.4.5/drivers/net/wireless/eagle/Makefile (limited to 'ANDROID_3.4.5/drivers/net/wireless/eagle/Makefile') diff --git a/ANDROID_3.4.5/drivers/net/wireless/eagle/Makefile b/ANDROID_3.4.5/drivers/net/wireless/eagle/Makefile new file mode 100755 index 00000000..81a9c460 --- /dev/null +++ b/ANDROID_3.4.5/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 -- cgit