From ccf2cfd97b824d93d995e251043903e447e2da61 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 13 Sep 2002 13:39:52 +0000 Subject: 2002-09-13 Joel Sherrill * 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. --- make/main.cfg | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'make/main.cfg') 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) -- cgit v1.2.3