From baa60b5e0ba1beafb9763ab270b37ce233fe2514 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 12 Feb 2013 11:25:25 +0100 Subject: [PATCH] make: Remove -qrtems_debug flag usage --- c/src/make/compilers/gcc-target-default.cfg | 6 +++--- doc/bsp_howto/support.t | 3 +-- make/Templates/Makefile.leaf | 3 --- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/c/src/make/compilers/gcc-target-default.cfg b/c/src/make/compilers/gcc-target-default.cfg index 9ad6c85339..ca41487d2d 100644 --- a/c/src/make/compilers/gcc-target-default.cfg +++ b/c/src/make/compilers/gcc-target-default.cfg @@ -27,7 +27,7 @@ ASFLAGS = $(CPU_ASFLAGS) $(XASFLAGS) # NOTE: GCCSPECS probably belongs to CPPFLAGS GCCSPECS_OPTIMIZE_V = -GCCSPECS_DEBUG_V = -qrtems_debug +GCCSPECS_DEBUG_V = GCCSPECS = -B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems GCCSPECS += $(GCCSPECS_$(VARIANT_V)_V) @@ -47,8 +47,8 @@ endif CFLAGS_DEBUG_V+=-Wno-unused CXXFLAGS_DEBUG_V+= -CFLAGS_DEBUG_V+=-qrtems_debug -CXXFLAGS_DEBUG_V+=-qrtems_debug +CFLAGS_DEBUG_V+= +CXXFLAGS_DEBUG_V+= # when debugging, optimize flag: typically empty # some compilers do allow optimization with their "-g" diff --git a/doc/bsp_howto/support.t b/doc/bsp_howto/support.t index 5f8eb1a9c9..9d89b81425 100644 --- a/doc/bsp_howto/support.t +++ b/doc/bsp_howto/support.t @@ -34,8 +34,7 @@ file from the PowerPC psim BSP: The first section of this file renames the built-in definition of some specification variables so they can be augmented without embedded their original definition. The subsequent sections -specify what behavior is expected when the @code{-qrtems} or -@code{-qrtems_debug} option is specified. +specify what behavior is expected when the @code{-qrtems} option is specified. The @code{*startfile} section specifies that the BSP specific file @code{start.o} will be used instead of @code{crt0.o}. In addition, diff --git a/make/Templates/Makefile.leaf b/make/Templates/Makefile.leaf index a73206bb76..aa39b3262b 100644 --- a/make/Templates/Makefile.leaf +++ b/make/Templates/Makefile.leaf @@ -38,9 +38,6 @@ CFLAGS += # # CFLAGS_DEBUG_V are used when the `make debug' target is built. -# To link your application with the non-optimized RTEMS routines, -# uncomment the following line: -# CFLAGS_DEBUG_V += -qrtems_debug # LD_PATHS += xxx-your-EXTRA-library-paths-go-here, if any