summaryrefslogtreecommitdiff
path: root/wl1271/stad/build/linux
diff options
context:
space:
mode:
Diffstat (limited to 'wl1271/stad/build/linux')
-rw-r--r--wl1271/stad/build/linux/Makefile132
-rw-r--r--wl1271/stad/build/linux/common.inc184
-rw-r--r--wl1271/stad/build/linux/drv_sources.inc277
3 files changed, 0 insertions, 593 deletions
diff --git a/wl1271/stad/build/linux/Makefile b/wl1271/stad/build/linux/Makefile
deleted file mode 100644
index e98697e..0000000
--- a/wl1271/stad/build/linux/Makefile
+++ /dev/null
@@ -1,132 +0,0 @@
-
-##
-##
-## File lists and locations
-##
-##
-
-#
-# DK_ROOT must be set prior to including common.inc
-#
-DK_ROOT = ../../..
-
-#
-# Includes common definitions and source file list
-#
-ifneq ($(KERNELRELEASE),)
- include $(M)/common.inc
- include $(M)/drv_sources.inc
-else
- include common.inc
- include drv_sources.inc
-endif
-
-#
-# Include directory for Odyssey supplicant files
-#
-ifeq ($(BUILD_SUPPL),y)
- ODD_INC = $(DK_ROOT)/CUDK/Supplicant/odyssey/odSupp/linux/inc
-else
- ODD_INC =
-endif
-
-#
-# OS include paths required for compilation.
-#
-OS_INCS = $(DK_ROOT)/platforms/os/linux/inc $(DK_ROOT)/platforms/os/common/inc
-#OS_INCS += $(DK_ROOT)/stad/src/core/EvHandler $(DK_ROOT)/Test $(DK_ROOT)/platforms/hw/host_platform_$(HOST_PLATFORM)/linux
-OS_INCS += $(DK_ROOT)/stad/src/core/EvHandler $(DK_ROOT)/Test $(DK_ROOT)/platforms/hw/linux
-
-#
-# Location and filename of the driver .lib file created by this makefile.
-#
-OUTPUT_DIR = $(DK_ROOT)/stad/build/linux
-OUTPUT_FILE = $(OUTPUT_DIR)/libestadrv.a
-
-
-
-
-
-##
-##
-## Build process
-##
-##
-
-ifneq ($(KERNELRELEASE),)
-
-
-##
-##
-## This is the kernel build phase - set the appropriate arguments
-##
-##
-
-#
-# Adds the current directory as a prefix to all include directories.
-#
- EXTRA_CFLAGS += $(addprefix -I$(M)/, $(DK_INCS) $(OS_INCS) $(ODD_INC))
-
-#
-# Intermediate object name - this should be converted to the appropriate library file
-# after the kernel makefile finishes its work.
-#
- obj-m = tiwlan_drv.o
-
-#
-# List of object files the kernel makefile needs to compile.
-#
- tiwlan_drv-y = $(DK_OBJS)
-
-
-else # ifneq ($(KERNELRELEASE),)
-
-
-##
-##
-## This is the regular build phase - act according to the make actions
-##
-##
-
-#
-# The location of the kernel makefile
-#
-KERNEL_DIR ?=
-
-
-#
-# Build the driver lib file
-#
-.PHONY: all
-all: .depend $(OUTPUT_FILE)
-
-
-#
-# Prints variables
-#
-.PHONY: help
-help:
- @echo Default Compilation: PLATFORM=$(PLATFORM) DEBUG=$(DEBUG) INTR=$(INTR) WSPI=$(WSPI) XCC=$(XCC) EXTRA CFLAGS: $(EXTRA_CFLAGS)
-#
-# Recursively cleans the driver files.
-#
-.PHONY: clean
-clean:
- $(MAKE) -C $(KERNEL_DIR) M=`pwd` ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) clean
- @rm -f *.o *.a .*.o.cmd *~ *.~* core .depend dep $(DK_OBJS) $(DEPS)
-
-
-#
-# Causes the library file to get rebuilt.
-#
-.depend:
- rm -f $(OUTPUT_FILE)
-#
-# Recursively builds the library file.
-#
-$(OUTPUT_FILE):
- $(MAKE) -C $(KERNEL_DIR) M=`pwd` ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) modules
- @$(CROSS_COMPILE)$(AR) rcs $@ $(DK_OBJS)
-
-
-endif # ifneq ($(KERNELRELEASE),)
diff --git a/wl1271/stad/build/linux/common.inc b/wl1271/stad/build/linux/common.inc
deleted file mode 100644
index d29e0c1..0000000
--- a/wl1271/stad/build/linux/common.inc
+++ /dev/null
@@ -1,184 +0,0 @@
-
-
-##
-##
-## Directory Locations
-##
-##
-
-COMMON := $(DK_ROOT)/stad
-COMSRC := $(COMMON)/src
-TWD := $(DK_ROOT)/TWD
-UTILS := $(DK_ROOT)/utils
-TESTSRC := $(DK_ROOT)/Test
-LINUX_PFORM := $(DK_ROOT)/platforms/os/linux
-PLATFORMS := $(DK_ROOT)/platforms
-EXT_DRV := $(DK_ROOT)/external_drivers
-TXN := $(DK_ROOT)/Txn
-
-##
-##
-## Make Flags
-##
-##
-
-#
-# Compile with FW1273 or FW1251
-#
-FW ?= 1273
-
-#
-# Compile with XCC support or not
-#
-XCC ?= n
-
-
-#
-# Compile with GEM support or not
-#
-GEM ?= n
-
-#
-# Choose the bus type (n for SDIO, y for WSPI)
-#
-WSPI ?= n
-
-#
-# Use periodic interrupt
-#
-INTR ?= y
-
-#
-# Enable or disable debugging
-#
-DEBUG ?= y
-KERNEL_DEBUGGER ?= n
-STRIP ?= y
-BMTRACE ?= n
-#
-# Enable or disable OS and init messages
-#
-INFO ?= n
-
-#
-# 1273 FPGA platform
-#
-FPGA1273 ?= n
-
-#
-# Enable trace buffer
-#
-TI_TRACE_BUFFER ?= n
-
-##
-##
-## Driver Compilation Directives
-##
-##
-ifeq "$(HOST_PLATFORM)" "omap2430"
- DK_DEFINES += -D HOST_PLATFORM_OMAP2430
-endif
-ifeq "$(HOST_PLATFORM)" "omap3430"
- DK_DEFINES += -D HOST_PLATFORM_OMAP3430
-endif
-ifeq "$(HOST_PLATFORM)" "zoom2"
- DK_DEFINES += -D HOST_PLATFORM_ZOOM2
-endif
-ifeq "$(HOST_PLATFORM)" "zoom1"
- DK_DEFINES += -D HOST_PLATFORM_ZOOM1
-endif
-
-ifeq ($(XCC),y)
- DK_DEFINES += -D XCC_MODULE_INCLUDED
-endif
-
-ifeq ($(GEM),y)
- DK_DEFINES += -D GEM_SUPPORTED
-endif
-
-ifeq ($(INTR),n)
- DK_DEFINES += -D PRIODIC_INTERRUPT
-endif
-
-ifeq ($(DEBUG),y)
- DK_DEFINES += -D TI_DBG
- DK_DEFINES += -D REPORT_LOG
- DK_DEFINES += -O2
- DK_DEFINES += -D PRINTF_ROLLBACK
-else
- DK_DEFINES += -D TI_DBG
- DK_DEFINES += -U REPORT_LOG
- DK_DEFINES += -O2
-endif
-ifeq ($(KERNEL_DEBUGGER),y)
- DK_DEFINES += -g -O2
- STRIP = n
-endif
-export KERNEL_DEBUGGER
-
-DK_DEFINES += -D __BYTE_ORDER_LITTLE_ENDIAN
-
-ifeq ($(TI_TRACE_BUFFER),y)
- DK_DEFINES += -D TI_TRACE_BUF
-endif
-
-ifeq ($(BMTRACE),y)
- DK_DEFINES += -D TIWLAN_BMTRACE
-endif
-
-# WPS Support
-DK_DEFINES += -D SUPPL_WPS_SUPPORT
-
-##
-##
-## Platform Compilation Directives
-##
-##
-
-#
-# Bus Driver
-#
-ifeq ($(WSPI),y)
- BUS_DRV = spi
- BUS_DRV_REMOVE = sdio
- BUS_DRIVER_MODULE = spi.ko
- PFORM_DEFINES += -D WSPI
-else
- BUS_DRV = sdio
- BUS_DRV_REMOVE = spi
- BUS_DRV = sdio
- BUS_DRV_REMOVE = spi
- BUS_DRIVER_MODULE = sdio.ko
-endif
-
-ifeq ($(INFO),y)
- PFORM_DEFINES += -D OS_INFO_MESSAGES
- PFORM_DEFINES += -D INIT_MESSAGES
-endif
-
-PFORM_DEFINES += -D HOST_COMPILE
-PFORM_DEFINES += -D FW_RUNNING_AS_STA
-PFORM_DEFINES += -D TNETW1273
-
-ifeq ($(FPGA1273),y)
- PFORM_DEFINES += -D FPGA1273_STAGE_
-endif
-
-ifeq ($(FULL_ASYNC),y)
- PFORM_DEFINES += -D FULL_ASYNC_MODE
-endif
-
-ifeq ($(USE_IRQ_ACTIVE_HIGH),y)
- PFORM_DEFINES += -D USE_IRQ_ACTIVE_HIGH
-endif
-
-##
-##
-## Miscellaneous Compilation Directivcs
-##
-##
-
-EXTRA_CFLAGS += -fsigned-char
-EXTRA_CFLAGS += -D __LINUX__ -DTI_RANDOM_DEFAULT_MAC
-EXTRA_CFLAGS += $(DK_DEFINES)
-EXTRA_CFLAGS += $(PFORM_DEFINES)
diff --git a/wl1271/stad/build/linux/drv_sources.inc b/wl1271/stad/build/linux/drv_sources.inc
deleted file mode 100644
index a7120c4..0000000
--- a/wl1271/stad/build/linux/drv_sources.inc
+++ /dev/null
@@ -1,277 +0,0 @@
-
-#start of TNETW_INCS# do not remove or change this comment
-TNETW_INCS = \
- $(COMMON)/Export_Inc \
- $(UTILS) \
- $(PLATFORMS)/os/common/inc \
- $(PLATFORMS)/os/linux/src \
- $(PLATFORMS)/os/linux/inc \
- $(PLATFORMS)/hw/linux \
- $(EXT_DRV)/$(BUS_DRV)/linux \
- $(EXT_APP)/Linux/bmtrace/Export_Inc \
- $(TWD) \
- $(TWD)/Ctrl \
- $(TWD)/Data_Service/Export_Inc \
- $(TWD)/FW_Transfer/Export_Inc \
- $(TWD)/FW_Transfer \
- $(TWD)/Ctrl/Export_Inc \
- $(TWD)/MacServices/Export_Inc \
- $(TWD)/FirmwareApi \
- $(TWD)/TwIf/ \
- $(TWD)/MacServices \
- $(TWD)/TWDriver \
- $(TXN)
-
-ifeq ($(XCC),y)
-#start of TNETW_INCS_XCC# do not remove or change this comment
- TNETW_INCS += \
- $(COMMON)/Export_Inc/XCC \
- $(DK_ROOT)/utils/XCC
-
- TNETW_INCS_XCC = \
- $(COMMON)/Export_Inc/XCC
-
- TNETW_INCS += $(TNETW_INCS_XCC)
-#end of TNETW_INCS_XCC# do not remove or change this comment
-endif
-
-#end of TNETW_INCS# do not remove or change this comment
-
-
-#start of CORE_INCS# do not remove or change this comment
-CORE_INCS = \
- $(COMSRC)/AirLink_Managment \
- $(COMSRC)/Application \
- $(COMSRC)/XCC \
- $(COMSRC)/Connection_Managment \
- $(COMSRC)/Ctrl_Interface \
- $(COMSRC)/Data_link \
- $(COMSRC)/Connection_Managment \
- $(COMSRC)/Sta_Management \
- $(COMSRC)/Connection_Managment
-
-#ifeq ($(DEBUG),y)
- CORE_INCS += \
- $(TESTSRC)/
-#endif
-
-#start of CORE_INCS_XCC# do not remove or change this comment
-ifeq ($(XCC),y)
- CORE_INCS_XCC += \
- $(COMSRC)/XCC
-
- CORE_INCS += $(CORE_INCS_XCC)
-endif
-#end of CORE_INCS_XCC# do not remove or change this comment
-
-#end of CORE_INCS# do not remove or change this comment
-
-
-
-
-
-#start of UTIL_SRCS# do not remove or change this comment
-UTIL_SRCS = \
- $(UTILS)/fsm.c \
- $(UTILS)/GenSM.c \
- $(UTILS)/report.c \
- $(UTILS)/queue.c \
- $(UTILS)/context.c \
- $(UTILS)/timer.c \
- $(UTILS)/rate.c \
- $(UTILS)/freq.c
-#end of UTIL_SRCS# do not remove or change this comment
-
-
-#start of TNETW_SRCS# do not remove or change this comment
-TNETW_SRCS = \
- $(TWD)/MacServices/MacServices.c \
- $(TWD)/MacServices/ScanSrv.c \
- $(TWD)/MacServices/ScanSrvSM.c \
- $(TWD)/MacServices/PowerSrv.c \
- $(TWD)/MacServices/PowerSrvSM.c \
- $(TWD)/MacServices/MeasurementSrv.c \
- $(TWD)/MacServices/MeasurementSrvSM.c \
- $(TWD)/MacServices/measurementSrvDbgPrint.c \
- $(TWD)/TWDriver/TWDriver.c \
- $(TWD)/TWDriver/TWDriverTx.c \
- $(TWD)/TWDriver/TWDriverCtrl.c \
- $(TWD)/TWDriver/TWDriverRadio.c \
- $(TWD)/Ctrl/CmdQueue.c \
- $(TWD)/Ctrl/CmdBld.c \
- $(TWD)/Ctrl/CmdBldCfg.c \
- $(TWD)/Ctrl/CmdBldCmd.c \
- $(TWD)/Ctrl/CmdBldItr.c \
- $(TWD)/Ctrl/CmdBldCfgIE.c \
- $(TWD)/Ctrl/CmdBldCmdIE.c \
- $(TWD)/Ctrl/CmdBldItrIE.c \
- $(TWD)/Data_Service/txHwQueue.c \
- $(TWD)/Data_Service/txCtrlBlk.c \
- $(TWD)/Data_Service/RxQueue.c \
- $(TWD)/FW_Transfer/CmdMBox.c \
- $(TWD)/FW_Transfer/txResult.c \
- $(TWD)/FW_Transfer/txXfer.c \
- $(TWD)/FW_Transfer/FwEvent.c \
- $(TWD)/FW_Transfer/RxXfer.c \
- $(TWD)/FW_Transfer/eventMbox.c \
- $(TWD)/FW_Transfer/HwInit.c \
- $(TWD)/FW_Transfer/fwDebug.c \
- $(TWD)/TwIf/TwIf.c \
- $(TXN)/TxnQueue.c
-
-ifeq ($(WSPI),y)
- TNETW_SRCS += \
- $(TXN)/WspiBusDrv.c
-endif
-
-ifeq ($(WSPI),n)
- TNETW_SRCS += \
- $(TXN)/SdioBusDrv.c
-endif
-
-#start of TNETW_SRCS_XCC# do not remove or change this comment
-#end of TNETW_SRCS_XCC# do not remove or change this comment
-
-#end of TNETW_SRCS# do not remove or change this comment
-
-#start of CORE_SRCS# do not remove or change this comment
-CORE_SRCS = \
- $(COMSRC)/Ctrl_Interface/DrvMain.c \
- $(COMSRC)/Ctrl_Interface/EvHandler.c \
- $(COMSRC)/Ctrl_Interface/CmdHndlr.c \
- $(COMSRC)/Ctrl_Interface/CmdDispatcher.c \
- $(COMSRC)/Data_link/txCtrl.c \
- $(COMSRC)/Data_link/txCtrlServ.c \
- $(COMSRC)/Data_link/txCtrlParams.c \
- $(COMSRC)/Data_link/txPort.c \
- $(COMSRC)/Data_link/txDataQueue.c \
- $(COMSRC)/Data_link/TxDataClsfr.c \
- $(COMSRC)/Data_link/txMgmtQueue.c \
- $(COMSRC)/Data_link/Ctrl.c \
- $(COMSRC)/Data_link/GeneralUtil.c \
- $(COMSRC)/Data_link/TrafficMonitor.c \
- $(COMSRC)/Data_link/rx.c \
- $(COMSRC)/Sta_Management/PowerMgr.c \
- $(COMSRC)/Sta_Management/PowerMgrKeepAlive.c \
- $(COMSRC)/Sta_Management/PowerMgrDbgPrint.c \
- $(COMSRC)/Sta_Management/healthMonitor.c \
- $(COMSRC)/Sta_Management/siteMgr.c \
- $(COMSRC)/Sta_Management/StaCap.c \
- $(COMSRC)/Sta_Management/siteHash.c \
- $(COMSRC)/Sta_Management/systemConfig.c \
- $(COMSRC)/Sta_Management/templates.c \
- $(COMSRC)/Sta_Management/mlmeBuilder.c \
- $(COMSRC)/Sta_Management/mlmeParser.c \
- $(COMSRC)/Sta_Management/mlmeSm.c \
- $(COMSRC)/Sta_Management/assocSM.c \
- $(COMSRC)/Sta_Management/authSm.c \
- $(COMSRC)/Sta_Management/openAuthSm.c \
- $(COMSRC)/Sta_Management/sharedKeyAuthSm.c \
- $(COMSRC)/Sta_Management/scr.c \
- $(COMSRC)/Sta_Management/ScanCncn.c \
- $(COMSRC)/Sta_Management/ScanCncnSm.c \
- $(COMSRC)/Sta_Management/ScanCncnSmSpecific.c \
- $(COMSRC)/Sta_Management/ScanCncnOsSm.c \
- $(COMSRC)/Sta_Management/ScanCncnApp.c \
- $(COMSRC)/Sta_Management/scanResultTable.c \
- $(COMSRC)/Sta_Management/currBss.c \
- $(COMSRC)/Sta_Management/qosMngr.c \
- $(COMSRC)/Sta_Management/trafficAdmControl.c \
- $(COMSRC)/AirLink_Managment/SwitchChannel.c \
- $(COMSRC)/AirLink_Managment/measurementMgr.c \
- $(COMSRC)/AirLink_Managment/measurementMgrSM.c \
- $(COMSRC)/AirLink_Managment/spectrumMngmntMgr.c \
- $(COMSRC)/AirLink_Managment/requestHandler.c \
- $(COMSRC)/AirLink_Managment/SoftGemini.c \
- $(COMSRC)/AirLink_Managment/regulatoryDomain.c \
- $(COMSRC)/Connection_Managment/conn.c \
- $(COMSRC)/Connection_Managment/connIbss.c \
- $(COMSRC)/Connection_Managment/connInfra.c \
- $(COMSRC)/Connection_Managment/sme.c \
- $(COMSRC)/Connection_Managment/smeSm.c \
- $(COMSRC)/Connection_Managment/smeSelect.c \
- $(COMSRC)/Connection_Managment/rsn.c \
- $(COMSRC)/Connection_Managment/mainSecSm.c \
- $(COMSRC)/Connection_Managment/mainSecNull.c \
- $(COMSRC)/Connection_Managment/mainSecKeysOnly.c \
- $(COMSRC)/Connection_Managment/admCtrl.c \
- $(COMSRC)/Connection_Managment/admCtrlWep.c \
- $(COMSRC)/Connection_Managment/admCtrlNone.c \
- $(COMSRC)/Connection_Managment/admCtrlWpa.c \
- $(COMSRC)/Connection_Managment/admCtrlWpa2.c \
- $(COMSRC)/Connection_Managment/apConn.c \
- $(COMSRC)/Connection_Managment/keyDerive.c \
- $(COMSRC)/Connection_Managment/keyDeriveWep.c \
- $(COMSRC)/Connection_Managment/keyParser.c \
- $(COMSRC)/Connection_Managment/keyDeriveAes.c \
- $(COMSRC)/Connection_Managment/keyDeriveTkip.c \
- $(COMSRC)/Connection_Managment/broadcastKeySM.c \
- $(COMSRC)/Connection_Managment/unicastKeySM.c \
- $(COMSRC)/Connection_Managment/broadcastKey802_1x.c \
- $(COMSRC)/Connection_Managment/unicastKey802_1x.c \
- $(COMSRC)/Connection_Managment/broadcastKeyNone.c \
- $(COMSRC)/Connection_Managment/unicastKeyNone.c \
- $(COMSRC)/Connection_Managment/keyParserExternal.c \
- $(COMSRC)/Connection_Managment/keyParserWep.c \
- $(COMSRC)/Connection_Managment/mainKeysSm.c \
- $(COMSRC)/Connection_Managment/externalSec.c \
- $(COMSRC)/Application/scanMngr.c \
- $(COMSRC)/Application/roamingMngr.c \
- $(COMSRC)/Application/roamingMngr_manualSM.c \
- $(COMSRC)/Application/roamingMngr_autoSM.c
-
-#ifeq ($(DEBUG),y)
- CORE_SRCS += \
- $(TESTSRC)/connDebug.c \
- $(TESTSRC)/siteMgrDebug.c \
- $(TESTSRC)/ctrlDbg.c \
- $(TESTSRC)/RxDbg.c \
- $(TESTSRC)/TxDbg.c \
- $(TESTSRC)/debug.c \
- $(TESTSRC)/PowerMgrDebug.c \
- $(TESTSRC)/rsnDbg.c \
- $(TESTSRC)/TWD_Debug.c \
- $(TESTSRC)/measurementDbg.c \
- $(TESTSRC)/scanCncnDbg.c \
- $(TESTSRC)/qosMngrDbg.c \
- $(TESTSRC)/ScanMngrDbg.c \
- $(TESTSRC)/scanCncnDbg.c \
- $(TESTSRC)/roamingMgrDebug.c \
- $(TESTSRC)/scrDbg.c \
- $(TESTSRC)/SoftGeminiDbg.c \
- $(TESTSRC)/HealthMonitorDbg.c \
- $(TESTSRC)/smeDebug.c \
- $(TESTSRC)/fwdriverdebug.c \
- $(TESTSRC)/MibDbg.c \
- $(TESTSRC)/TwIfDebug.c
-#endif
-
-#start of CORE_SRCS_XCC# do not remove or change this comment
-ifeq ($(XCC),y)
- CORE_SRCS_XCC += \
- $(COMSRC)/Connection_Managment/keyDeriveCkip.c \
- $(COMSRC)/XCC/admCtrlXCC.c \
- $(COMSRC)/XCC/XCCRMMngr.c \
- $(COMSRC)/XCC/XCCTSMngr.c \
- $(COMSRC)/XCC/XCCMngr.c \
- $(COMSRC)/XCC/rogueAp.c \
- $(COMSRC)/XCC/TransmitPowerXCC.c
-
- CORE_SRCS += $(CORE_SRCS_XCC)
-endif
-#end of CORE_SRCS_XCC# do not remove or change this comment
-
-#end of CORE_SRCS# do not remove or change this comment
-
-
-DK_INCS = \
-$(TNETW_INCS) \
-$(CORE_INCS)
-
-DK_SRCS = \
-$(CORE_SRCS) \
-$(TNETW_SRCS)
-
-DK_OBJS = $(patsubst %.c, %.o, $(DK_SRCS) $(UTIL_SRCS))
-
-