[PATCH 2/6] make: Remove -qrtems_debug flag usage
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Feb 12 13:00:59 UTC 2013
---
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 9ad6c85..ca41487 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 5f8eb1a..9d89b81 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
- at 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 a73206b..aa39b32 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
--
1.7.7
More information about the devel
mailing list