forked from Imagelibrary/rtems
2001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* leaf.cfg: Remove CFLAGS_DEBUG_OPTIMIZE_V. * compilers/gcc-no_bsp.cfg: Remove CPP_CC_FLAGS. * compilers/gcc-portsw.cfg: Remove CPP_CC_FLAGS. * compilers/gcc-target-default.cfg: Remove *_DEBUG_OPTIMIZE_*-flags, remove unused flags, remove -ansi from CPP. * custom/eth_comm.cfg: Remove CPU_DEFINES. * custom/sim68000.cfg: Remove CPU_DEFINES.
This commit is contained in:
@@ -97,8 +97,8 @@ endif
|
||||
|
||||
# when debugging, optimize flag: typically empty
|
||||
# some compilers do allow optimization with their "-g"
|
||||
CFLAGS_DEBUG_OPTIMIZE_V=-g
|
||||
CXXFLAGS_DEBUG_OPTIMIZE_V=-g
|
||||
CFLAGS_OPTIMIZE_V=-g
|
||||
CXXFLAGS_OPTIMIZE_V=-g
|
||||
|
||||
# profile flag; use gprof(1)
|
||||
CFLAGS_PROFILE_V=-pg
|
||||
@@ -110,10 +110,6 @@ CFLAGS_OPTIMIZE =$(CFLAGS_OPTIMIZE_V)
|
||||
CXXFLAGS_OPTIMIZE=$(CXXFLAGS_OPTIMIZE_V)
|
||||
endif
|
||||
|
||||
# dynamic libraries
|
||||
#CFLAGS_DYNAMIC_V=-fpic
|
||||
#ASFLAGS_DYNAMIC_V=
|
||||
|
||||
ifndef AUTOMAKE
|
||||
CFLAGS += $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE)
|
||||
CXXFLAGS += $(CXXFLAGS_OPTIMIZE) $(CXXFLAGS_DEBUG) $(CXXFLAGS_PROFILE)
|
||||
@@ -160,11 +156,7 @@ CLOBBER_CC =
|
||||
#
|
||||
|
||||
# CPP command to write file to standard output
|
||||
CPP=$(CC) -E -ansi -w -Wp,-$$
|
||||
|
||||
# flags set by cc when running cpp
|
||||
# NOTE: CPP_CC_FLAGS does not seem to be used anywhere
|
||||
# CPP_CC_FLAGS=-D__STDC__
|
||||
CPP=$(CC) -E -w -Wp,-$$
|
||||
|
||||
# egrep regexp to ignore symbol table entries in ar archives.
|
||||
# Only used to make sure we skip them when coalescing libraries.
|
||||
|
||||
@@ -1,7 +1,17 @@
|
||||
|
||||
2001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* leaf.cfg: Remove CFLAGS_DEBUG_OPTIMIZE_V.
|
||||
* compilers/gcc-no_bsp.cfg: Remove CPP_CC_FLAGS.
|
||||
* compilers/gcc-portsw.cfg: Remove CPP_CC_FLAGS.
|
||||
* compilers/gcc-target-default.cfg: Remove *_DEBUG_OPTIMIZE_*-flags,
|
||||
remove unused flags, remove -ansi from CPP.
|
||||
* custom/eth_comm.cfg: Remove CPU_DEFINES.
|
||||
* custom/sim68000.cfg: Remove CPU_DEFINES.
|
||||
|
||||
2001-04-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* compilers/gcc-default.cfg: Dito.
|
||||
* compilers/gcc-no_bsp.cfg: Remove -ansi -fasm.
|
||||
* compilers/gcc-target-default.cfg: Dito.
|
||||
* compilers/gcc-portsw.cfg: Remove -Hansi.
|
||||
* custom/posix.cfg: Remove inclusion of target.cfg.
|
||||
|
||||
@@ -138,9 +138,6 @@ CCC=$(CXX)
|
||||
# CPP command to write file to standard output
|
||||
CPP=$(CC) -E
|
||||
|
||||
# flags set by cc when running cpp
|
||||
CPP_CC_FLAGS=-D__STDC__
|
||||
|
||||
AS=as
|
||||
ASPP=ERROR_NO_ASPP
|
||||
|
||||
|
||||
@@ -119,9 +119,6 @@ CCC=$(CXX)
|
||||
# CPP command to write file to standard output
|
||||
CPP=$(CC) -E
|
||||
|
||||
# flags set by cc when running cpp
|
||||
CPP_CC_FLAGS=-D__STDC__
|
||||
|
||||
AS=/opt/29k/bin/as29
|
||||
ASPP=ERROR_NO_ASPP
|
||||
|
||||
|
||||
@@ -97,8 +97,8 @@ endif
|
||||
|
||||
# when debugging, optimize flag: typically empty
|
||||
# some compilers do allow optimization with their "-g"
|
||||
CFLAGS_DEBUG_OPTIMIZE_V=-g
|
||||
CXXFLAGS_DEBUG_OPTIMIZE_V=-g
|
||||
CFLAGS_OPTIMIZE_V=-g
|
||||
CXXFLAGS_OPTIMIZE_V=-g
|
||||
|
||||
# profile flag; use gprof(1)
|
||||
CFLAGS_PROFILE_V=-pg
|
||||
@@ -110,10 +110,6 @@ CFLAGS_OPTIMIZE =$(CFLAGS_OPTIMIZE_V)
|
||||
CXXFLAGS_OPTIMIZE=$(CXXFLAGS_OPTIMIZE_V)
|
||||
endif
|
||||
|
||||
# dynamic libraries
|
||||
#CFLAGS_DYNAMIC_V=-fpic
|
||||
#ASFLAGS_DYNAMIC_V=
|
||||
|
||||
ifndef AUTOMAKE
|
||||
CFLAGS += $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE)
|
||||
CXXFLAGS += $(CXXFLAGS_OPTIMIZE) $(CXXFLAGS_DEBUG) $(CXXFLAGS_PROFILE)
|
||||
@@ -160,11 +156,7 @@ CLOBBER_CC =
|
||||
#
|
||||
|
||||
# CPP command to write file to standard output
|
||||
CPP=$(CC) -E -ansi -w -Wp,-$$
|
||||
|
||||
# flags set by cc when running cpp
|
||||
# NOTE: CPP_CC_FLAGS does not seem to be used anywhere
|
||||
# CPP_CC_FLAGS=-D__STDC__
|
||||
CPP=$(CC) -E -w -Wp,-$$
|
||||
|
||||
# egrep regexp to ignore symbol table entries in ar archives.
|
||||
# Only used to make sure we skip them when coalescing libraries.
|
||||
|
||||
@@ -14,8 +14,6 @@ CPU_TYPE=860
|
||||
RTEMS_BSP_FAMILY=eth_comm
|
||||
RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
|
||||
|
||||
CPU_DEFINES=
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# PPC_VECTOR_FILE_BASE (PowerPC)
|
||||
|
||||
@@ -19,12 +19,6 @@ endif
|
||||
# This is the actual bsp directory used during the build process.
|
||||
RTEMS_BSP_FAMILY=sim68000
|
||||
|
||||
#
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_DEFINES =
|
||||
|
||||
# optimize flag: typically -0, could use -O4 or -fast
|
||||
# -O4 is ok for RTEMS
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
@@ -50,7 +50,7 @@ debug:
|
||||
$(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) "ARCH=o-debug" \
|
||||
"CFLAGS_DEBUG=$(CFLAGS_DEBUG_V)" \
|
||||
"CXXFLAGS_DEBUG=$(CXXFLAGS_DEBUG_V)" \
|
||||
"CFLAGS_OPTIMIZE=$(CFLAGS_DEBUG_OPTIMIZE_V)" \
|
||||
"CFLAGS_OPTIMIZE=$(CFLAGS_OPTIMIZE_V)" \
|
||||
"LDFLAGS_DEBUG=$(LDFLAGS_DEBUG_V)" $(TARGET_VA)
|
||||
|
||||
profile:
|
||||
|
||||
Reference in New Issue
Block a user