summaryrefslogtreecommitdiffstats
path: root/make/custom/Solaris-posix.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-12 19:23:14 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-12 19:23:14 +0000
commit396079844dda52776558ba51e3f8a12a22d98679 (patch)
tree700ddb508f8642deef3387e2ad9ab4735017fe4f /make/custom/Solaris-posix.cfg
parent8bb456a4ceb26e73737789ff0f70535dc63106c8 (diff)
downloadrtems-396079844dda52776558ba51e3f8a12a22d98679.tar.bz2
Patch rtems-rc-20000712-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
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.
Diffstat (limited to 'make/custom/Solaris-posix.cfg')
-rw-r--r--make/custom/Solaris-posix.cfg6
1 files changed, 1 insertions, 5 deletions
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