summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-11-07 14:10:56 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-11-13 09:38:02 +0100
commit228df42204425cd4d95304f80cc45b75b0506846 (patch)
tree0549dab8f7863d87286583e1c167ad36c8283c4f /cpukit
parentsptests/spinternalerror01: New test (diff)
downloadrtems-228df42204425cd4d95304f80cc45b75b0506846.tar.bz2
sapi: Add BSP_INITIAL_EXTENSION to confdefs.h
A BSP can supply an initial extension via the new optional BSP_INITIAL_EXTENSION define. It will be the last in the initial extension table.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/sapi/include/confdefs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 7e911035ca..cddfccb80b 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -1605,7 +1605,8 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
#endif
#include <rtems/libcsupport.h>
-#if defined(CONFIGURE_INITIAL_EXTENSIONS) || \
+#if defined(BSP_INITIAL_EXTENSION) || \
+ defined(CONFIGURE_INITIAL_EXTENSIONS) || \
defined(CONFIGURE_STACK_CHECKER_ENABLED) || \
(defined(RTEMS_NEWLIB) && !defined(CONFIGURE_DISABLE_NEWLIB_REENTRANCY))
static const rtems_extensions_table Configuration_Initial_Extensions[] = {
@@ -1618,6 +1619,9 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
#if defined(CONFIGURE_INITIAL_EXTENSIONS)
CONFIGURE_INITIAL_EXTENSIONS,
#endif
+ #if defined(BSP_INITIAL_EXTENSION)
+ BSP_INITIAL_EXTENSION
+ #endif
};
#define CONFIGURE_INITIAL_EXTENSION_TABLE Configuration_Initial_Extensions