📄 makefile
字号:
# Makefile for Atheros AR521x Code Module## modification history# --------------------# 01n,15sep08,hfc Fix for defect WIND00132682# 01m,19aug08,mze TOOL changes# 01l,11jul08,hfc add PRECOM support for VSB build# 01k,10jul08,hfc replace findstring SMP with _WRS_CONFIG_SMP to adopt vsb# notion# 01j,27feb08,hfc add support for vxbus/smp and legacy build# 01i,28jun07,spw Disable SMP builds# 01h,01apr05,rb Removed diab compilation protection# 01g,24aug04,dxb Removed export parameter# 01f,23aug04,dxb Added override directive# 01e,27jul04,dxb fix typo# 01d,27jul04,dxb override -ansi to allow c++ comment headers for GNU 3.3# 01c,21jul04,eja Change BIG_ENDIAN to A_BIG_ENDIAN to resolve PCD little# endian issue# 01b,06may04,dxb Added additional include paths and gnu-only compile# 01a,28apr04,dxb Created.## DESCRIPTION# This file contains the Makefile rules for building the Atheros AR521x# 802.11a/b/g HAL (Hardware Interface Layer) proprietary code moduleTGT_DIR = $(WIND_BASE)/targetLIB_BASE_NAMES = ar521x ar521xVxbEndinclude $(TGT_DIR)/h/make/defs.libraryAR_DIR = $(TGT_DIR)/src/drv/wlan/atheros_ar521xC_SOURCE = ar5212Attach.c ar5212Interrupts.c ar5212Misc.c ar5212Power.c ar5212Reset.c \ ar5212Beacon.c ar5212KeyCache.c ar5212Phy.c ar5212Receive.c ar5212Transmit.c ifdef _WRS_CONFIG_SMPOBJS_PRECOMP_ar521xVxbEnd = $(C_SOURCE:.c=.o)elseOBJS_PRECOMP_ar521xVxbEnd = $(C_SOURCE:.c=.o)OBJS_PRECOMP_ar521x = $(C_SOURCE:.c=.o)endifCFLAGS_LIB_ar521xVxbEnd = -DVXBUSSUBDIRS = # Extra include paths required by Atheros codeEXTRA_INCLUDE= -I. -I$(AR_DIR) -I$(AR_DIR)/hal -I$(AR_DIR)/include \ -I$(AR_DIR)/include/diags include $(TGT_DIR)/h/make/rules.library# Override -ansi compiler flag to allow C++ style commentsCC_COMPILER =# Extra C flags required by Atheros codeoverride ADDED_CFLAGS += -DVXWORKS -DVXWORKS55 -DBUILD_AR5211 \ -DBUILD_AR5212 -DPCI_INTERFACE -DBUILD_AP -DDEBUG# Need manual endian determination for Atheros code. Atheros should use the# _BYTE_ORDER macro so we don't have to re-create the functionality hereifeq ($(BUILD_ENDIAN_SUFFIX),be)override ADDED_CFLAGS += -DA_BIG_ENDIANelseifeq ($(BUILD_ENDIAN_SUFFIX),le)else# at this point, we've established that the endianness is not specified in# the TOOL variable, so move to defaults based on CPU_FAMILY ifeq ($(VX_CPU_FAMILY),arm) endif ifeq ($(VX_CPU_FAMILY),mips) override ADDED_CFLAGS += -DA_BIG_ENDIAN endif ifeq ($(VX_CPU_FAMILY),ppc) override ADDED_CFLAGS += -DA_BIG_ENDIAN endif ifeq ($(VX_CPU_FAMILY),sh) override ADDED_CFLAGS += -DA_BIG_ENDIAN endif ifeq ($(VX_CPU_FAMILY),pentium) endif endifendif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -