?? config.mk
字號:
# Support 2860 QA ATE functionHAS_2860_QA=n# Support LLTD functionHAS_LLTD=n# Support Wpa_SupplicantHAS_WPA_SUPPLICANT=n# Support Native WpaSupplicant for Network MagangerHAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n#Support Net interface block while Tx-Sw queue fullHAS_BLOCK_NET_IF=nCC := $(CROSS_COMPILE)gccLD := $(CROSS_COMPILE)ld -EBWFLAGS := -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT -DLINUX -Wall -Wstrict-prototypes -Wno-trigraphs ifeq ($(RT2860_MODE),STA)WFLAGS += -DCONFIG_STA_SUPPORT -DDBG ifeq ($(HAS_WPA_SUPPLICANT),y)WFLAGS += -DWPA_SUPPLICANT_SUPPORTendififeq ($(HAS_NATIVE_WPA_SUPPLICANT_SUPPORT),y)WFLAGS += -DNATIVE_WPA_SUPPLICANT_SUPPORTendififeq ($(HAS_ATE),y)WFLAGS += -DRALINK_ATEifeq ($(HAS_2860_QA),y)WFLAGS += -DRALINK_2860_QAendifendifendif# endif of ifeq ($(RT2860_MODE),STA)ifeq ($(PLATFORM),5VT)#WFLAGS += -DCONFIG_5VT_ENHANCEendififeq ($(HAS_BLOCK_NET_IF),y)WFLAGS += -DBLOCK_NET_IFendififeq ($(HAS_DFS_SUPPORT),y)WFLAGS += -DDFS_SUPPORTendififeq ($(HAS_LLTD),y)WFLAGS += -DLLTD_SUPPORTendififeq ($(PLATFORM),IXP)WFLAGS += -DBIG_ENDIANendififeq ($(PLATFORM),INF_TWINPASS)WFLAGS += -DBIG_ENDIAN -DINF_TWINPASSendif#kernel build options for 2.4# move to Makefile outside LINUX_SRC := /opt/star/kernel/linux-2.4.27-starifeq ($(PLATFORM),STAR)CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(RT2860_DIR)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mshort-load-bytes -msoft-float -Uarm -DMODULE -DMODVERSIONS -include $(LINUX_SRC)/include/linux/modversions.h $(WFLAGS)export CFLAGSendififeq ($(PLATFORM),SIGMA)CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(LINUX_SRC)/include/asm/gcc -I$(LINUX_SRC)/include/asm-mips/mach-tango2 -I$(LINUX_SRC)/include/asm-mips/mach-tango2 -DEM86XX_CHIP=EM86XX_CHIPID_TANGO2 -DEM86XX_REVISION=6 -I$(LINUX_SRC)/include/asm-mips/mach-generic -I$(RT2860_DIR)/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -pipe -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -DMODULE $(WFLAGS) export CFLAGSendififeq ($(PLATFORM),5VT)CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(RT2860_DIR)/include -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=apcs-gnu -mno-thumb-interwork -D__LINUX_ARM_ARCH__=5 -march=armv5te -mtune=arm926ej-s --param max-inline-insns-single=40000 -Uarm -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE $(WFLAGS) export CFLAGSendififeq ($(PLATFORM),INF_TWINPASS)CFLAGS := -D__KERNEL__ -DMODULE -I$(LINUX_SRC)/include -I$(RT2860_DIR)/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -G 0 -mno-abicalls -fno-pic -march=4kc -mips32 -Wa,--trap -pipe -mlong-calls $(WFLAGS)export CFLAGSendififeq ($(PLATFORM),PC) ifneq (,$(findstring 2.4,$(LINUX_SRC))) # Linux 2.4 CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(RT2860_DIR)/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include $(LINUX_SRC)/include/linux/modversions.h $(WFLAGS) export CFLAGS else # Linux 2.6 EXTRA_CFLAGS := $(WFLAGS) -I$(RT2860_DIR)/include endifendififeq ($(PLATFORM),IXP) EXTRA_CFLAGS := -v $(WFLAGS) -I$(RT2860_DIR)/include -mbig-endianendif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -