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/Cygwin-posix.cfg | 6 +----- make/custom/FreeBSD-posix.cfg | 6 +----- make/custom/HPUX9-posix.cfg | 6 +----- make/custom/Linux-posix.cfg | 6 +----- make/custom/Solaris-posix.cfg | 6 +----- make/custom/bare.cfg | 4 ---- make/custom/cvme961.cfg | 3 --- make/custom/dmv152.cfg | 4 ---- make/custom/dmv177.cfg | 4 ---- make/custom/efi332.cfg | 3 --- make/custom/efi68k.cfg | 3 --- make/custom/erc32.cfg | 4 ---- make/custom/eth_comm.cfg | 4 ---- make/custom/gen68302.cfg | 3 --- make/custom/gen68340.cfg | 4 ---- make/custom/gen68360.cfg | 5 ----- make/custom/gensh1.cfg | 4 ---- make/custom/gensh2.cfg | 4 ---- make/custom/h8sim.cfg | 3 --- make/custom/helas403.cfg | 5 ----- make/custom/i386ex.cfg | 3 --- make/custom/i960sim.cfg | 3 --- make/custom/idp.cfg | 3 --- make/custom/mbx860_005b.cfg | 1 - make/custom/mbx8xx.cfg | 3 --- make/custom/mcp750.cfg | 4 ---- make/custom/mvme136.cfg | 3 --- make/custom/mvme147.cfg | 3 --- make/custom/mvme162.cfg | 3 --- make/custom/mvme167.cfg | 4 ---- make/custom/mvme2307.cfg | 4 ---- make/custom/ods68302.cfg | 3 --- make/custom/p4000.cfg | 4 ---- make/custom/p4600.cfg | 4 ---- make/custom/p4650.cfg | 4 ---- make/custom/papyrus.cfg | 5 ----- make/custom/pc386.cfg | 3 --- make/custom/portsw.cfg | 4 ---- make/custom/ppcn_60x.cfg | 4 ---- make/custom/psim.cfg | 4 ---- make/custom/rxgen960.cfg | 3 --- make/custom/score603e.cfg | 4 ---- make/custom/simhppa.cfg | 4 ---- make/custom/ts_386ex.cfg | 4 ---- 44 files changed, 5 insertions(+), 166 deletions(-) (limited to 'make/custom') diff --git a/make/custom/Cygwin-posix.cfg b/make/custom/Cygwin-posix.cfg index 5686f4c384..37c0dc9281 100644 --- a/make/custom/Cygwin-posix.cfg +++ b/make/custom/Cygwin-posix.cfg @@ -16,7 +16,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg # RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER LIBC_DEFINES =-D_POSIX_C_SOURCE -LIBC_DEFINES+=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG +LIBC_DEFINES+=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED # The following define the memory reserved in the executable for the # RTEMS Workspace and the C Program Heap. @@ -41,16 +41,12 @@ CFLAGS_OPTIMIZE_V = -O2 # NO_TABLE_MOVE (SPARC PORT) # do not have a second trap table -- use the BSP's # -# RTEMS_DEBUG (RTEMS) -# If defined, debug checks in RTEMS and support library code are enabled. -# # RTEMS_UNIX (unix) # Define this to indicate this is an RTEMS UNIX port. define make-target-options echo "/* #define NDEBUG 1 */ " >>$@ echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - echo "/* #define RTEMS_DEBUG 1 */" >>$@ echo "#define RTEMS_UNIX 1 " >>$@ endef diff --git a/make/custom/FreeBSD-posix.cfg b/make/custom/FreeBSD-posix.cfg index f15e790dff..795bc8a080 100644 --- a/make/custom/FreeBSD-posix.cfg +++ b/make/custom/FreeBSD-posix.cfg @@ -15,7 +15,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg # RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER LIBC_DEFINES =-D_POSIX_C_SOURCE -LIBC_DEFINES+=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG +LIBC_DEFINES+=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED # The following define the memory reserved in the executable for the # RTEMS Workspace and the C Program Heap. @@ -39,16 +39,12 @@ CFLAGS_OPTIMIZE_V = -O2 # NO_TABLE_MOVE (SPARC PORT) # do not have a second trap table -- use the BSP's # -# RTEMS_DEBUG (RTEMS) -# If defined, debug checks in RTEMS and support library code are enabled. -# # RTEMS_UNIX (unix) # Define this to indicate this is an RTEMS UNIX port. define make-target-options echo "/* #define NDEBUG 1 */ " >>$@ echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - echo "/* #define RTEMS_DEBUG 1 */" >>$@ echo "#define RTEMS_UNIX 1 " >>$@ endef diff --git a/make/custom/HPUX9-posix.cfg b/make/custom/HPUX9-posix.cfg index 907505811f..4dc44df77c 100644 --- a/make/custom/HPUX9-posix.cfg +++ b/make/custom/HPUX9-posix.cfg @@ -21,7 +21,7 @@ INLINE=macros INLINE_UPCASE=MACRO # RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER -LIBC_DEFINES=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG +LIBC_DEFINES=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED # The following define the memory reserved in the executable for the # RTEMS Workspace and the C Program Heap. @@ -45,16 +45,12 @@ CFLAGS_OPTIMIZE_V = -O2 # NO_TABLE_MOVE (SPARC PORT) # do not have a second trap table -- use the BSP's # -# RTEMS_DEBUG (RTEMS) -# If defined, debug checks in RTEMS and support library code are enabled. -# # RTEMS_UNIX (unix) # Define this to indicate this is an RTEMS UNIX port. define make-target-options echo "/* #define NDEBUG 1 */ " >>$@ echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - echo "/* #define RTEMS_DEBUG 1 */" >>$@ echo "#define RTEMS_UNIX 1 " >>$@ endef diff --git a/make/custom/Linux-posix.cfg b/make/custom/Linux-posix.cfg index b7e8e40060..136a0124ce 100644 --- a/make/custom/Linux-posix.cfg +++ b/make/custom/Linux-posix.cfg @@ -16,7 +16,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg # RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER LIBC_DEFINES =-D_POSIX_C_SOURCE -LIBC_DEFINES+=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG +LIBC_DEFINES+=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED # The following define the memory reserved in the executable for the # RTEMS Workspace and the C Program Heap. @@ -40,9 +40,6 @@ CFLAGS_OPTIMIZE_V = -O2 # # NO_TABLE_MOVE (SPARC PORT) # do not have a second trap table -- use the BSP's -# -# RTEMS_DEBUG (RTEMS) -# If defined, debug checks in RTEMS and support library code are enabled. # # RTEMS_UNIX (unix) # Define this to indicate this is an RTEMS UNIX port. @@ -50,7 +47,6 @@ CFLAGS_OPTIMIZE_V = -O2 define make-target-options echo "/* #define NDEBUG 1 */ " >>$@ echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - echo "/* #define RTEMS_DEBUG 1 */" >>$@ echo "#define RTEMS_UNIX 1 " >>$@ endef diff --git a/make/custom/Solaris-posix.cfg b/make/custom/Solaris-posix.cfg index ef7472b6a4..ad56a3c62c 100644 --- a/make/custom/Solaris-posix.cfg +++ b/make/custom/Solaris-posix.cfg @@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/custom/default.cfg # RTEMS Workspace and the C Program Heap. LIBC_DEFINES += -DWORKSPACE_MB=2 LIBC_DEFINES += -DHEAPSPACE_MB=1 -LIBC_DEFINES +=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG +LIBC_DEFINES +=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED DEFINES += -D__EXTENSIONS__ -Dsolaris2 @@ -38,16 +38,12 @@ CFLAGS_OPTIMIZE_V = -O2 # NO_TABLE_MOVE (SPARC PORT) # do not have a second trap table -- use the BSP's # -# RTEMS_DEBUG (RTEMS) -# If defined, debug checks in RTEMS and support library code are enabled. -# # RTEMS_UNIX (unix) # Define this to indicate this is an RTEMS UNIX port. define make-target-options echo "/* #define NDEBUG 1 */ " >>$@ echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - echo "/* #define RTEMS_DEBUG 1 */" >>$@ echo "#define RTEMS_UNIX 1 " >>$@ endef diff --git a/make/custom/bare.cfg b/make/custom/bare.cfg index a1b5381e68..31567d885b 100644 --- a/make/custom/bare.cfg +++ b/make/custom/bare.cfg @@ -27,14 +27,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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. -# define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # this target has no start file diff --git a/make/custom/cvme961.cfg b/make/custom/cvme961.cfg index fca81ffb99..e7fce71dd2 100644 --- a/make/custom/cvme961.cfg +++ b/make/custom/cvme961.cfg @@ -37,13 +37,10 @@ CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures # NO_TABLE_MOVE (SPARC PORT) # do not have a second trap table -- use the BSP's # -# RTEMS_DEBUG (RTEMS) -# If defined, debug checks in RTEMS and support library code are enabled. define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # The following are definitions of make-exe which will work using ld as diff --git a/make/custom/dmv152.cfg b/make/custom/dmv152.cfg index 8b38cd4096..6d3c60122a 100644 --- a/make/custom/dmv152.cfg +++ b/make/custom/dmv152.cfg @@ -35,9 +35,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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. -# # USE_CHANNEL_A (DMV152) # USE_CHANNEL_B (DMV152) # One and only one of these should be set to 1 to indicate which @@ -46,7 +43,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ # @echo "#define USE_CHANNEL_A 1" >>$@ # @echo "#define USE_CHANNEL_B 0" >>$@ endef diff --git a/make/custom/dmv177.cfg b/make/custom/dmv177.cfg index a9ef4be769..f95ce45bd2 100644 --- a/make/custom/dmv177.cfg +++ b/make/custom/dmv177.cfg @@ -25,9 +25,6 @@ RTEMS_BSP_FAMILY=dmv177 # 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 (psim_bsp) # CONSOLE_USE_INTERRUPTS (psim_bsp) # The psim console driver has the structure to operate in either @@ -61,7 +58,6 @@ RTEMS_BSP_FAMILY=dmv177 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 CONSOLE_USE_POLLED !CONSOLE_USE_INTERRUPTS" >>$@ @echo "#define PPC_VECTOR_FILE_BASE 0x0100" >>$@ diff --git a/make/custom/efi332.cfg b/make/custom/efi332.cfg index 08390ead1d..c024a1c363 100644 --- a/make/custom/efi332.cfg +++ b/make/custom/efi332.cfg @@ -27,13 +27,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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. define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # The following are definitions of make-exe which will work using ld as diff --git a/make/custom/efi68k.cfg b/make/custom/efi68k.cfg index ece3c51876..9ab4e3cbd3 100644 --- a/make/custom/efi68k.cfg +++ b/make/custom/efi68k.cfg @@ -32,13 +32,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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. define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # The following are definitions of make-exe which will work using ld as diff --git a/make/custom/erc32.cfg b/make/custom/erc32.cfg index 3196fcd492..22bbfd0ec8 100644 --- a/make/custom/erc32.cfg +++ b/make/custom/erc32.cfg @@ -40,9 +40,6 @@ CFLAGS_OPTIMIZE_V=-O4 # NO_TABLE_MOVE (SPARC PORT) # do not have a second trap table -- use the BSP's # -# RTEMS_DEBUG (RTEMS) -# If defined, debug checks in RTEMS and support library code are enabled. -# # CONSOLE_USE_POLLED (erc32_bsp) # CONSOLE_USE_INTERRUPTS (erc32_bsp) # The erc32 console driver can operate in either polled or interrupt mode. @@ -64,7 +61,6 @@ CFLAGS_OPTIMIZE_V=-O4 define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ @echo "#define NO_TABLE_MOVE 1" >>$@ @echo "#define CONSOLE_USE_INTERRUPTS 0" >>$@ @echo "#define CONSOLE_USE_POLLED !CONSOLE_USE_INTERRUPTS" >>$@ diff --git a/make/custom/eth_comm.cfg b/make/custom/eth_comm.cfg index 2a501fcd14..fa89562f91 100644 --- a/make/custom/eth_comm.cfg +++ b/make/custom/eth_comm.cfg @@ -23,9 +23,6 @@ CPU_DEFINES= # # 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. # # PPC_VECTOR_FILE_BASE (PowerPC) # This defines the base address of the exception table. @@ -54,7 +51,6 @@ define make-target-options @echo >>$@ @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ @echo "#define PPC_VECTOR_FILE_BASE 0x0000" >>$@ @echo "#define PPC_ABI PPC_ABI_EABI" >>$@ @echo "#define PPC_ASM PPC_ASM_ELF" >>$@ diff --git a/make/custom/gen68302.cfg b/make/custom/gen68302.cfg index 5b21cd771a..fd8e53fc6c 100644 --- a/make/custom/gen68302.cfg +++ b/make/custom/gen68302.cfg @@ -33,13 +33,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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. define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # The following are definitions of make-exe which will work using ld as diff --git a/make/custom/gen68340.cfg b/make/custom/gen68340.cfg index 7511e795e4..4ad4c5b0b9 100644 --- a/make/custom/gen68340.cfg +++ b/make/custom/gen68340.cfg @@ -27,14 +27,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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. -# define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # The following are definitions of make-exe which will work using ld as diff --git a/make/custom/gen68360.cfg b/make/custom/gen68360.cfg index 01b81ddd9c..2c30661a69 100644 --- a/make/custom/gen68360.cfg +++ b/make/custom/gen68360.cfg @@ -38,21 +38,16 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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. -# ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes) define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef else define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ @echo "#define RTEMS__mcpu32p__ 1" >>$@ endef endif diff --git a/make/custom/gensh1.cfg b/make/custom/gensh1.cfg index f5a2b0b489..293f1fc6ea 100644 --- a/make/custom/gensh1.cfg +++ b/make/custom/gensh1.cfg @@ -45,14 +45,10 @@ CFLAGS_OPTIMIZE_V = -O4 # 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. -# define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef diff --git a/make/custom/gensh2.cfg b/make/custom/gensh2.cfg index 09299bba6f..ebab079d75 100644 --- a/make/custom/gensh2.cfg +++ b/make/custom/gensh2.cfg @@ -48,9 +48,6 @@ CFLAGS_OPTIMIZE_V = -O4 # 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. -# # STANDALONE_EVB # This switch compiles code to jump-start from FLASH, without a monitor # @@ -65,7 +62,6 @@ define make-target-options @echo "#define RTEMS_TEST_IO_STREAM 1" >>$@ @echo "/* #define STANDALONE_EVB 1 */" >>$@ @echo "#define START_HW_INIT 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef diff --git a/make/custom/h8sim.cfg b/make/custom/h8sim.cfg index c8388eae01..54624bf69a 100644 --- a/make/custom/h8sim.cfg +++ b/make/custom/h8sim.cfg @@ -31,13 +31,10 @@ CFLAGS_OPTIMIZE_V=-O0 -g # 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. define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # The following are definitions of make-exe which will work using ld as diff --git a/make/custom/helas403.cfg b/make/custom/helas403.cfg index b9e49b33ba..31d08f6eb6 100644 --- a/make/custom/helas403.cfg +++ b/make/custom/helas403.cfg @@ -27,10 +27,6 @@ RTEMS_BSP_FAMILY=helas403 # 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. -# -# # PPC_VECTOR_FILE_BASE (PowerPC) # This defines the base address of the exception table. # NOTE: Vectors are actually at 0xFFF00000 but file starts at offset 0x0100 @@ -44,7 +40,6 @@ RTEMS_BSP_FAMILY=helas403 define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ @echo "#define PPC_VECTOR_FILE_BASE 0x0100" >>$@ @echo "#define PPC_USE_SPRG 1" >>$@ endef diff --git a/make/custom/i386ex.cfg b/make/custom/i386ex.cfg index c18a3590eb..de2035dc3e 100644 --- a/make/custom/i386ex.cfg +++ b/make/custom/i386ex.cfg @@ -31,13 +31,10 @@ CFLAGS_OPTIMIZE_V=-O4 # 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. define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # Something like this should produce a map file but this does not work. diff --git a/make/custom/i960sim.cfg b/make/custom/i960sim.cfg index 3e28aa2a45..d8a9c7754f 100644 --- a/make/custom/i960sim.cfg +++ b/make/custom/i960sim.cfg @@ -31,13 +31,10 @@ CFLAGS_OPTIMIZE_V=-O0 -g # 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. define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # The following are definitions of make-exe which will work using ld as diff --git a/make/custom/idp.cfg b/make/custom/idp.cfg index 7654bf9b56..e8477475bc 100644 --- a/make/custom/idp.cfg +++ b/make/custom/idp.cfg @@ -21,13 +21,10 @@ RTEMS_BSP_FAMILY=idp # 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. define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # This contains the compiler options necessary to select the CPU model diff --git a/make/custom/mbx860_005b.cfg b/make/custom/mbx860_005b.cfg index f6243c8fe9..94d2b0e015 100644 --- a/make/custom/mbx860_005b.cfg +++ b/make/custom/mbx860_005b.cfg @@ -34,5 +34,4 @@ define make-target-options @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ @echo "/* #define STACK_CHECKER_ON 1 */" >>$@ @echo "/* #define STACK_CHECKER_REPORT_USAGE 1 */" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef diff --git a/make/custom/mbx8xx.cfg b/make/custom/mbx8xx.cfg index 7a2bbb72ed..e13e1cc24e 100644 --- a/make/custom/mbx8xx.cfg +++ b/make/custom/mbx8xx.cfg @@ -121,8 +121,6 @@ endif # mbx821 # If this and STACK_CHECKER_ON are defined, then a report on stack usage # per task is printed when the program exits. # -# RTEMS_DEBUG (RTEMS) -# If defined, debug checks in RTEMS and support library code are enabled. define make-target-options @echo "#ifdef mpc$(CPU_TYPE)" >>$@ @@ -145,7 +143,6 @@ define make-target-options @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ @echo "/* #define STACK_CHECKER_ON 1 */" >>$@ @echo "/* #define STACK_CHECKER_REPORT_USAGE 1 */" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # This contains the compiler options necessary to select the CPU model diff --git a/make/custom/mcp750.cfg b/make/custom/mcp750.cfg index 19f2d973e1..d17336639a 100644 --- a/make/custom/mcp750.cfg +++ b/make/custom/mcp750.cfg @@ -22,9 +22,6 @@ RTEMS_BSP_FAMILY=motorola_powerpc # 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. -# # PPC_VECTOR_FILE_BASE (ppc) # This defines the base address of the exception table. # NOTE: Vectors are actually at 0xFFF00000 but file starts at offset 0x0100 @@ -44,7 +41,6 @@ RTEMS_BSP_FAMILY=motorola_powerpc define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ @echo "#define PPCN_60X_USE_DINK 0" >>$@ @echo "#define PPCN_60X_USE_NONE 1" >>$@ @echo "#define PPC_USE_DATA_CACHE 1" >>$@ diff --git a/make/custom/mvme136.cfg b/make/custom/mvme136.cfg index 5ff5411dd3..1e77a2e6cc 100644 --- a/make/custom/mvme136.cfg +++ b/make/custom/mvme136.cfg @@ -31,13 +31,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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. define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # The following are definitions of make-exe which will work using ld as diff --git a/make/custom/mvme147.cfg b/make/custom/mvme147.cfg index 3e57706ed9..9cf38bb2f1 100644 --- a/make/custom/mvme147.cfg +++ b/make/custom/mvme147.cfg @@ -28,13 +28,10 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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. define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # The following are definitions of make-exe which will work using ld as diff --git a/make/custom/mvme162.cfg b/make/custom/mvme162.cfg index 93cf2b42b8..cc6127b73e 100644 --- a/make/custom/mvme162.cfg +++ b/make/custom/mvme162.cfg @@ -52,15 +52,12 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # NO_TABLE_MOVE (SPARC PORT) # do not have a second trap table -- use the BSP's # -# RTEMS_DEBUG (RTEMS) -# If defined, debug checks in RTEMS and support library code are enabled. define make-target-options @echo "#undef $(RTEMS_MVME162_MODEL)" >>$@ @echo "#define $(RTEMS_MVME162_MODEL)" >>$@ @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # The following are definitions of make-exe which will work using ld as diff --git a/make/custom/mvme167.cfg b/make/custom/mvme167.cfg index 889f281bbc..11633576c2 100644 --- a/make/custom/mvme167.cfg +++ b/make/custom/mvme167.cfg @@ -41,9 +41,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer # 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. -# # CD2401_INT_LEVEL # Interrupt level for the CD2401. # @@ -53,7 +50,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ # @echo "#define CD2401_INT_LEVEL 1" >>$@ # @echo "#define CD2401_POLLED_IO 1" >>$@ diff --git a/make/custom/mvme2307.cfg b/make/custom/mvme2307.cfg index d4a628956a..838f7b3bd7 100644 --- a/make/custom/mvme2307.cfg +++ b/make/custom/mvme2307.cfg @@ -22,9 +22,6 @@ RTEMS_BSP_FAMILY=motorola_powerpc # 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 (mvme2307_bsp) # CONSOLE_USE_INTERRUPTS (mvme2307_bsp) # The mvme2307 console driver has the structure to operate in either @@ -45,7 +42,6 @@ RTEMS_BSP_FAMILY=motorola_powerpc define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ @echo "#define PPCN_60X_USE_DINK 0" >>$@ @echo "#define PPCN_60X_USE_NONE 1" >>$@ @echo "#define PPC_USE_DATA_CACHE 1" >>$@ diff --git a/make/custom/ods68302.cfg b/make/custom/ods68302.cfg index b370681db1..b8f8cb36c7 100644 --- a/make/custom/ods68302.cfg +++ b/make/custom/ods68302.cfg @@ -44,13 +44,10 @@ CFLAGS_DEBUG_V = # 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. define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "#define RTEMS_DEBUG 1" >>$@ endef # The following are definitions of make-exe which will work using ld as diff --git a/make/custom/p4000.cfg b/make/custom/p4000.cfg index f10ec6604f..a80642a948 100644 --- a/make/custom/p4000.cfg +++ b/make/custom/p4000.cfg @@ -20,14 +20,10 @@ RTEMS_BSP_FAMILY=p4000 # 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. -# define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef diff --git a/make/custom/p4600.cfg b/make/custom/p4600.cfg index f00967eae4..78a9c5c37d 100644 --- a/make/custom/p4600.cfg +++ b/make/custom/p4600.cfg @@ -26,14 +26,10 @@ CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3 # 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. -# define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef diff --git a/make/custom/p4650.cfg b/make/custom/p4650.cfg index a5e737929b..0b12eb182c 100644 --- a/make/custom/p4650.cfg +++ b/make/custom/p4650.cfg @@ -26,14 +26,10 @@ CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3 # 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. -# define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef diff --git a/make/custom/papyrus.cfg b/make/custom/papyrus.cfg index 842b4a9bf3..286700e790 100644 --- a/make/custom/papyrus.cfg +++ b/make/custom/papyrus.cfg @@ -21,10 +21,6 @@ RTEMS_BSP_FAMILY=papyrus # 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. -# -# # PPC_VECTOR_FILE_BASE (PowerPC) # This defines the base address of the exception table. # NOTE: Vectors are actually at 0xFFF00000 but file starts at offset 0x0100 @@ -38,7 +34,6 @@ RTEMS_BSP_FAMILY=papyrus define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ @echo "#define PPC_VECTOR_FILE_BASE 0x0100" >>$@ @echo "#define PPC_USE_SPRG 1" >>$@ endef diff --git a/make/custom/pc386.cfg b/make/custom/pc386.cfg index a9b23ad1ab..b253061510 100644 --- a/make/custom/pc386.cfg +++ b/make/custom/pc386.cfg @@ -34,13 +34,10 @@ CFLAGS_OPTIMIZE_V=-O4 # 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. define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "/* #define RTEMS_TEST_NO_PAUSE 1 */" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # Here is the rule to actually build a $(ARCH)/foo.exe diff --git a/make/custom/portsw.cfg b/make/custom/portsw.cfg index 6129c133cd..0f1b6ab390 100644 --- a/make/custom/portsw.cfg +++ b/make/custom/portsw.cfg @@ -23,14 +23,10 @@ RTEMS_BSP_FAMILY=portsw # 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. -# define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef diff --git a/make/custom/ppcn_60x.cfg b/make/custom/ppcn_60x.cfg index 9c8468e443..16d033176d 100644 --- a/make/custom/ppcn_60x.cfg +++ b/make/custom/ppcn_60x.cfg @@ -23,9 +23,6 @@ RTEMS_BSP_FAMILY=ppcn_60x # 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. -# # PPCN_60X_USE_DINK (ppcn_60x_bsp) # PPCN_60X_USE_NONE (ppcn_60x_bsp) # The Score603e board can be configured with 3 ROM monitors. Only two @@ -51,7 +48,6 @@ RTEMS_BSP_FAMILY=ppcn_60x define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ @echo "#define PPCN_60X_USE_DINK 1" >>$@ @echo "#define PPCN_60X_USE_NONE 0" >>$@ @echo "#define PPC_USE_DATA_CACHE 1" >>$@ diff --git a/make/custom/psim.cfg b/make/custom/psim.cfg index 62e3074993..cd01229b8d 100644 --- a/make/custom/psim.cfg +++ b/make/custom/psim.cfg @@ -21,9 +21,6 @@ RTEMS_BSP_FAMILY=psim # 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 (psim_bsp) # CONSOLE_USE_INTERRUPTS (psim_bsp) # The psim console driver has the structure to operate in either @@ -50,7 +47,6 @@ RTEMS_BSP_FAMILY=psim 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 CONSOLE_USE_POLLED !CONSOLE_USE_INTERRUPTS" >>$@ @echo "#define PSIM_FAST_IDLE 1" >>$@ diff --git a/make/custom/rxgen960.cfg b/make/custom/rxgen960.cfg index 235970c682..c739dbbf69 100644 --- a/make/custom/rxgen960.cfg +++ b/make/custom/rxgen960.cfg @@ -38,13 +38,10 @@ CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures # NO_TABLE_MOVE (SPARC PORT) # do not have a second trap table -- use the BSP's # -# RTEMS_DEBUG (RTEMS) -# If defined, debug checks in RTEMS and support library code are enabled. define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ endef # The following are definitions of make-exe which will work using ld as 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)" >>$@ diff --git a/make/custom/simhppa.cfg b/make/custom/simhppa.cfg index 2f222108c4..b9b2327c54 100644 --- a/make/custom/simhppa.cfg +++ b/make/custom/simhppa.cfg @@ -44,9 +44,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions # 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. -# # SIMHPPA_FAST_IDLE (simhppa) # If defined, speed up the clock ticks while the idle task is running so # time spent in the idle task is minimized. This significantly reduces @@ -56,7 +53,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "/* #define RTEMS_DEBUG 1 */" >>$@ @echo "#define SIMHPPA_FAST_IDLE 1 " >>$@ endef diff --git a/make/custom/ts_386ex.cfg b/make/custom/ts_386ex.cfg index aa73067866..8467d176b6 100644 --- a/make/custom/ts_386ex.cfg +++ b/make/custom/ts_386ex.cfg @@ -32,9 +32,6 @@ CFLAGS_OPTIMIZE_V= -O4 # 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. -# # BSP_DEBUG (BSP) # Enables some debugging in the BSP package. # @@ -45,7 +42,6 @@ CFLAGS_OPTIMIZE_V= -O4 define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ - @echo "#define RTEMS_DEBUG 1" >>$@ @echo "/* #define UARTDEBUG 1 */" >>$@ @echo "/* #define BSP_DEBUG 1 */" >>$@ @echo "#define LOAD_RTC_AT_START 1" >>$@ -- cgit v1.2.3