summaryrefslogtreecommitdiffstats
path: root/make/main.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-09-13 13:39:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-09-13 13:39:52 +0000
commitccf2cfd97b824d93d995e251043903e447e2da61 (patch)
treecd6fde86109aa6dda1a83065ec16cb1fd8e53dfe /make/main.cfg
parent2002-09-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-ccf2cfd97b824d93d995e251043903e447e2da61.tar.bz2
2002-09-13 Joel Sherrill <joel@OARcorp.com>
* Part of addressing PR281. * main.cfg: Added recognition of VARIANT=DEBUG on command line. * compilers/gcc-target-default.cfg: Removed remaining support for RTEMS_USE_GCC272 and RTEMS_LIBC_DIR as well as added -qrtems_debug as one of the LDFLAGS when the debug variant is specified.
Diffstat (limited to '')
-rw-r--r--make/main.cfg8
1 files changed, 7 insertions, 1 deletions
diff --git a/make/main.cfg b/make/main.cfg
index 900af71485..dc4f00b6c3 100644
--- a/make/main.cfg
+++ b/make/main.cfg
@@ -21,9 +21,15 @@ PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
# This is where the object files get put.
#
+ifeq ($(VARIANT),)
ARCH=o-optimize
-
VARIANT=
+else
+ifeq ($(VARIANT),DEBUG)
+ARCH=o-debug
+VARIANT=DEBUG
+endif
+endif
#
# Initial target for make(1)