From 871480933a1c28f8a9fed4c4d34d06c439a7a422 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sun, 11 Jan 2015 12:28:04 +0530 Subject: Moved, renamed, and deleted files The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure. --- drivers/net/wireless/eagle/Makefile | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 drivers/net/wireless/eagle/Makefile (limited to 'drivers/net/wireless/eagle/Makefile') 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 -- cgit