📄 config.mak
字号:
#-*-Makefile-*-################################################################################# config.mak - This is the configuration file for the OSAL.#### Modifications:################################################################################### Begin configuration options **## Debug & optimization optionsDEBUG=-g -O0DEBUG_LEVEL=3#DEBUG=-g -O2WARNINGS=-Wall################################################################################### RTEMS target defintions##CAT=catTR=trRM=rmCP=cpCHMOD=chmodCOMPILER=gccASSEMBLER=asLINKER=ldAR=arNM=nmSIZE=sizeOBJCOPY=objcopyOBJDUMP=objdump################################################################################### Relevant directories#### Note BUILDBASE must be set up right before getting here....##SRCDIR=$(BUILDBASE)/commonINCDIR=$(BUILDBASE)/common/incHWINCDIR=$(BUILDBASE)/arch/$(HWARCH)/$(PLATFORM)/incOBJDIR=obj/$(HWARCH)/$(OS)################################################################################### Compiler suite config options##TARGETDEFS=-D_MAC_OS_## Used to be -D$(OSTARGET)## x86 = _EL, PPC & MongooseV = _EB -I$(BSP_INCDIR) COPTS=# Note: This include directory should not be available to tasks!# this would bypass the osal..INCS+=ENDIAN=-D_EB -DENDIAN=_EB -DSOFTWARE_BIG_BIT_ORDER # COPTS+=-mthreads# COPTS+=-fomit-frame-pointer# COPTS+=-mmultiple -mstring -mstrict-align -m5200ASOPTS=# everybody gets the math libLIBS+=-lc# LIBS+=-lgccLIBS+=-lmLIBS+=-lstdc++LIBS+=-lpthread# -I$(BSP_INCDIR)INCS+=-I$(INCDIR) -I. -I$(HWINCDIR) $(LOCALINCS)LIBDIR=# general gcc options that apply to compiling and dependency generationCOPT_D=$(COPTS) $(ENDIAN) $(TARGETDEFS) -D_REENTRANT $(INCS) $(LOCALCOPTS) -D$(HWARCH) -D _EMBED_ -DOS_DEBUG_LEVEL=$(DEBUG_LEVEL) -DFLIGHT_PACK# additional options only used for compiling that generates objectsCOPT_T=$(DEBUG) $(COPT_D) $(WARNINGS) -cDEPENDFILE=depend.makTBLDEPENDFILE=tbldepend.mak# LDFLAGS = -L $(LIBDIR) -N -MLDFLAGS = ## End configuration options ##
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -