From 396079844dda52776558ba51e3f8a12a22d98679 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 12 Jul 2000 19:23:14 +0000 Subject: Patch rtems-rc-20000712-1-cvs.diff from Ralf Corsepius that is yet another multilib-related structual cleanup patch: Changes: * Make RTEMS_DEBUG a global per-cpu configuration option * Remove RTEMS_DEBUG from targopts.h * Add a global --enable-rtems-debug option disabled by default. * Add RTEMS_DEBUG to cpuopts.h * Remove all references to RTEMS_DEBUG from custom/*.cfg Notes: * RTEMS_DEBUG is set in c/src/exec/configure.in only (RTEMS_CHECK_RTEMS_DEBUG) and should be defined in cpuopts.h only. BSPs should not redefine it, but use the value being provided by cpuopts.h. => With multilibs, users have to choose: Either enable RTEMS_DEBUG for all BSPs and CPU_MODELs of a cpu or not. * Only few BSPs had RTEMS_DEBUG enabled, therefore I set the default to disabled. * This patch influences the per-BSP building scheme. Existing BSPs which set RTEMS_DEBUG in their make-target-options rule might have problems at runtime. --- make/custom/score603e.cfg | 4 ---- 1 file changed, 4 deletions(-) (limited to 'make/custom/score603e.cfg') diff --git a/make/custom/score603e.cfg b/make/custom/score603e.cfg index 67e9534ea5..879491d4b6 100644 --- a/make/custom/score603e.cfg +++ b/make/custom/score603e.cfg @@ -41,9 +41,6 @@ include $(RTEMS_ROOT)/make/custom/default.cfg # RTEMS_TEST_NO_PAUSE (RTEMS tests) # do not pause between screens of output in the rtems tests # -# RTEMS_DEBUG (RTEMS) -# If defined, debug checks in RTEMS and support library code are enabled. -# # CONSOLE_USE_POLLED (score603e_bsp) # CONSOLE_USE_INTERRUPTS (score603e_bsp) # The score603e console driver has the structure to operate in either @@ -76,7 +73,6 @@ include $(RTEMS_ROOT)/make/custom/default.cfg define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ @echo "#define CONSOLE_USE_INTERRUPTS 0" >>$@ @echo "#define INITIALIZE_COM_PORTS 1" >>$@ @echo "#define SCORE603E_GENERATION $(SCORE603E_GENERATION)" >>$@ -- cgit v1.2.3