summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/confdefs.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-17 19:30:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-17 19:30:36 +0000
commit4afd6f407816fbac130af4a8e2c8b5e1b76e4580 (patch)
tree117e4c0f6187060bbc0834f9ad4b0fd0f40eec3d /cpukit/sapi/include/confdefs.h
parent2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-4afd6f407816fbac130af4a8e2c8b5e1b76e4580.tar.bz2
2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Rename STACK_CHECKER_ON to more appropriate CONFIGURE_STACK_CHECKER_ENABLED.
Diffstat (limited to 'cpukit/sapi/include/confdefs.h')
-rw-r--r--cpukit/sapi/include/confdefs.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 1facb44dd7..35404162dc 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -225,10 +225,18 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
#endif
#endif
+/*
+ * STACK_CHECER_ON was still available in 4.9 so give a warning for now.
+ */
+#if defined(STACK_CHECKER_ON)
+ #define CONFIGURE_STACK_CHECKER_ENABLED
+ #warning "STACK_CHECKER_ON deprecated -- use CONFIGURE_STACK_CHECKER_ENABLED"
+#endif
+
/**
* This configures the stack checker user extension.
*/
-#ifdef STACK_CHECKER_ON
+#ifdef CONFIGURE_STACK_CHECKER_ENABLED
#define CONFIGURE_STACK_CHECKER_EXTENSION 1
#else
#define CONFIGURE_STACK_CHECKER_EXTENSION 0
@@ -926,19 +934,19 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
*/
#ifdef CONFIGURE_INIT
-#ifdef STACK_CHECKER_ON
+#ifdef CONFIGURE_STACK_CHECKER_ENABLED
#include <rtems/stackchk.h>
#endif
#include <rtems/libcsupport.h>
#if defined(CONFIGURE_INITIAL_EXTENSIONS) || \
- defined(STACK_CHECKER_ON) || \
+ defined(CONFIGURE_STACK_CHECKER_ENABLED) || \
(defined(RTEMS_NEWLIB) && !defined(CONFIGURE_DISABLE_NEWLIB_REENTRANCY))
rtems_extensions_table Configuration_Initial_Extensions[] = {
#if !defined(CONFIGURE_DISABLE_NEWLIB_REENTRANCY)
RTEMS_NEWLIB_EXTENSION,
#endif
- #if defined(STACK_CHECKER_ON)
+ #if defined(CONFIGURE_STACK_CHECKER_ENABLED)
RTEMS_STACK_CHECKER_EXTENSION,
#endif
#if defined(CONFIGURE_INITIAL_EXTENSIONS)