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:
Joel Sherrill
2001-05-08 22:59:25 +00:00
parent 7ed44167b1
commit 93f79c0f8b
8 changed files with 18 additions and 38 deletions

View File

@@ -97,8 +97,8 @@ endif
# when debugging, optimize flag: typically empty # when debugging, optimize flag: typically empty
# some compilers do allow optimization with their "-g" # some compilers do allow optimization with their "-g"
CFLAGS_DEBUG_OPTIMIZE_V=-g CFLAGS_OPTIMIZE_V=-g
CXXFLAGS_DEBUG_OPTIMIZE_V=-g CXXFLAGS_OPTIMIZE_V=-g
# profile flag; use gprof(1) # profile flag; use gprof(1)
CFLAGS_PROFILE_V=-pg CFLAGS_PROFILE_V=-pg
@@ -110,10 +110,6 @@ CFLAGS_OPTIMIZE =$(CFLAGS_OPTIMIZE_V)
CXXFLAGS_OPTIMIZE=$(CXXFLAGS_OPTIMIZE_V) CXXFLAGS_OPTIMIZE=$(CXXFLAGS_OPTIMIZE_V)
endif endif
# dynamic libraries
#CFLAGS_DYNAMIC_V=-fpic
#ASFLAGS_DYNAMIC_V=
ifndef AUTOMAKE ifndef AUTOMAKE
CFLAGS += $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE) CFLAGS += $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE)
CXXFLAGS += $(CXXFLAGS_OPTIMIZE) $(CXXFLAGS_DEBUG) $(CXXFLAGS_PROFILE) CXXFLAGS += $(CXXFLAGS_OPTIMIZE) $(CXXFLAGS_DEBUG) $(CXXFLAGS_PROFILE)
@@ -160,11 +156,7 @@ CLOBBER_CC =
# #
# CPP command to write file to standard output # CPP command to write file to standard output
CPP=$(CC) -E -ansi -w -Wp,-$$ CPP=$(CC) -E -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__
# egrep regexp to ignore symbol table entries in ar archives. # egrep regexp to ignore symbol table entries in ar archives.
# Only used to make sure we skip them when coalescing libraries. # Only used to make sure we skip them when coalescing libraries.

View File

@@ -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> 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-target-default.cfg: Dito.
* compilers/gcc-portsw.cfg: Remove -Hansi. * compilers/gcc-portsw.cfg: Remove -Hansi.
* custom/posix.cfg: Remove inclusion of target.cfg. * custom/posix.cfg: Remove inclusion of target.cfg.

View File

@@ -138,9 +138,6 @@ CCC=$(CXX)
# CPP command to write file to standard output # CPP command to write file to standard output
CPP=$(CC) -E CPP=$(CC) -E
# flags set by cc when running cpp
CPP_CC_FLAGS=-D__STDC__
AS=as AS=as
ASPP=ERROR_NO_ASPP ASPP=ERROR_NO_ASPP

View File

@@ -119,9 +119,6 @@ CCC=$(CXX)
# CPP command to write file to standard output # CPP command to write file to standard output
CPP=$(CC) -E CPP=$(CC) -E
# flags set by cc when running cpp
CPP_CC_FLAGS=-D__STDC__
AS=/opt/29k/bin/as29 AS=/opt/29k/bin/as29
ASPP=ERROR_NO_ASPP ASPP=ERROR_NO_ASPP

View File

@@ -97,8 +97,8 @@ endif
# when debugging, optimize flag: typically empty # when debugging, optimize flag: typically empty
# some compilers do allow optimization with their "-g" # some compilers do allow optimization with their "-g"
CFLAGS_DEBUG_OPTIMIZE_V=-g CFLAGS_OPTIMIZE_V=-g
CXXFLAGS_DEBUG_OPTIMIZE_V=-g CXXFLAGS_OPTIMIZE_V=-g
# profile flag; use gprof(1) # profile flag; use gprof(1)
CFLAGS_PROFILE_V=-pg CFLAGS_PROFILE_V=-pg
@@ -110,10 +110,6 @@ CFLAGS_OPTIMIZE =$(CFLAGS_OPTIMIZE_V)
CXXFLAGS_OPTIMIZE=$(CXXFLAGS_OPTIMIZE_V) CXXFLAGS_OPTIMIZE=$(CXXFLAGS_OPTIMIZE_V)
endif endif
# dynamic libraries
#CFLAGS_DYNAMIC_V=-fpic
#ASFLAGS_DYNAMIC_V=
ifndef AUTOMAKE ifndef AUTOMAKE
CFLAGS += $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE) CFLAGS += $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE)
CXXFLAGS += $(CXXFLAGS_OPTIMIZE) $(CXXFLAGS_DEBUG) $(CXXFLAGS_PROFILE) CXXFLAGS += $(CXXFLAGS_OPTIMIZE) $(CXXFLAGS_DEBUG) $(CXXFLAGS_PROFILE)
@@ -160,11 +156,7 @@ CLOBBER_CC =
# #
# CPP command to write file to standard output # CPP command to write file to standard output
CPP=$(CC) -E -ansi -w -Wp,-$$ CPP=$(CC) -E -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__
# egrep regexp to ignore symbol table entries in ar archives. # egrep regexp to ignore symbol table entries in ar archives.
# Only used to make sure we skip them when coalescing libraries. # Only used to make sure we skip them when coalescing libraries.

View File

@@ -14,8 +14,6 @@ CPU_TYPE=860
RTEMS_BSP_FAMILY=eth_comm RTEMS_BSP_FAMILY=eth_comm
RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
CPU_DEFINES=
# This section makes the target dependent options file. # This section makes the target dependent options file.
# PPC_VECTOR_FILE_BASE (PowerPC) # PPC_VECTOR_FILE_BASE (PowerPC)

View File

@@ -19,12 +19,6 @@ endif
# This is the actual bsp directory used during the build process. # This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=sim68000 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 # optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS # -O4 is ok for RTEMS
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer

View File

@@ -50,7 +50,7 @@ debug:
$(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) "ARCH=o-debug" \ $(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) "ARCH=o-debug" \
"CFLAGS_DEBUG=$(CFLAGS_DEBUG_V)" \ "CFLAGS_DEBUG=$(CFLAGS_DEBUG_V)" \
"CXXFLAGS_DEBUG=$(CXXFLAGS_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) "LDFLAGS_DEBUG=$(LDFLAGS_DEBUG_V)" $(TARGET_VA)
profile: profile: