From 228df42204425cd4d95304f80cc45b75b0506846 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 7 Nov 2012 14:10:56 +0100 Subject: [PATCH] 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. --- cpukit/sapi/include/confdefs.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -#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