From 93f79c0f8b5521313221c755a12f04ba230cf14b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 8 May 2001 22:59:25 +0000 Subject: 2001-05-07 Ralf Corsepius * 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. --- make/ChangeLog | 12 +++++++++++- make/compilers/gcc-no_bsp.cfg | 3 --- make/compilers/gcc-portsw.cfg | 3 --- make/compilers/gcc-target-default.cfg | 14 +++----------- make/custom/eth_comm.cfg | 2 -- make/custom/sim68000.cfg | 6 ------ make/leaf.cfg | 2 +- 7 files changed, 15 insertions(+), 27 deletions(-) (limited to 'make') diff --git a/make/ChangeLog b/make/ChangeLog index a4e454ead8..3883df7b77 100644 --- a/make/ChangeLog +++ b/make/ChangeLog @@ -1,7 +1,17 @@ + +2001-05-07 Ralf Corsepius + + * 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 - * 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. diff --git a/make/compilers/gcc-no_bsp.cfg b/make/compilers/gcc-no_bsp.cfg index fb3f74ee1d..8fdcb89f2f 100644 --- a/make/compilers/gcc-no_bsp.cfg +++ b/make/compilers/gcc-no_bsp.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 diff --git a/make/compilers/gcc-portsw.cfg b/make/compilers/gcc-portsw.cfg index 8a21d75033..497ddeabd7 100644 --- a/make/compilers/gcc-portsw.cfg +++ b/make/compilers/gcc-portsw.cfg @@ -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 diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg index 530df0dced..428bbfafa2 100644 --- a/make/compilers/gcc-target-default.cfg +++ b/make/compilers/gcc-target-default.cfg @@ -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. diff --git a/make/custom/eth_comm.cfg b/make/custom/eth_comm.cfg index df194decb2..10a04889d4 100644 --- a/make/custom/eth_comm.cfg +++ b/make/custom/eth_comm.cfg @@ -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) diff --git a/make/custom/sim68000.cfg b/make/custom/sim68000.cfg index 8ac73c4933..d0ad22debd 100644 --- a/make/custom/sim68000.cfg +++ b/make/custom/sim68000.cfg @@ -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 diff --git a/make/leaf.cfg b/make/leaf.cfg index a1e3e1b1f3..7f0bfc51b5 100644 --- a/make/leaf.cfg +++ b/make/leaf.cfg @@ -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: -- cgit v1.2.3