From 8ef38186faea3d9b5e6f0f1242f668cb7e7a3d52 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 12 Jun 2000 19:57:02 +0000 Subject: Patch from John Cotton , Charles-Antoine Gauthier , and Darlene A. Stewart to add support for a number of very significant things: + BSPs for many variations on the Motorola MBX8xx board series + Cache Manager including initial support for m68040 and PowerPC + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use same code base. + Rework of eth_comm BSP to utiltize above. John reports this works on the 821 and 860 --- make/compilers/gcc-target-default.cfg | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'make/compilers') diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg index fb5dfbad62..c0baabb6d4 100644 --- a/make/compilers/gcc-target-default.cfg +++ b/make/compilers/gcc-target-default.cfg @@ -88,17 +88,26 @@ endif # debug flag; CFLAGS_DEBUG_V+=-Wno-unused +CXXFLAGS_DEBUG_V+= ifeq ($(RTEMS_USE_GCC272),no) CFLAGS_DEBUG_V+=-qrtems_debug +CXXFLAGS_DEBUG_V+=-qrtems_debug 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 + # profile flag; use gprof(1) CFLAGS_PROFILE_V=-pg +CXXFLAGS_PROFILE_V=-pg ifndef AUTOMAKE # default is to optimize -CFLAGS_OPTIMIZE=$(CFLAGS_OPTIMIZE_V) +CFLAGS_OPTIMIZE =$(CFLAGS_OPTIMIZE_V) +CXXFLAGS_OPTIMIZE=$(CXXFLAGS_OPTIMIZE_V) endif # dynamic libraries @@ -106,7 +115,8 @@ endif #ASFLAGS_DYNAMIC_V= ifndef AUTOMAKE -CFLAGS += $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE) +CFLAGS += $(CFLAGS_OPTIMIZE) $(CFLAGS_DEBUG) $(CFLAGS_PROFILE) +CXXFLAGS += $(CXXFLAGS_OPTIMIZE) $(CXXFLAGS_DEBUG) $(CXXFLAGS_PROFILE) endif # List of library paths without -L -- cgit v1.2.3