diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-06-08 10:25:46 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-06-08 10:25:46 +0000 |
commit | 241f4c96378ff3ca0ad811290c1dac49b571d1cc (patch) | |
tree | 5c6c0298594abcbe1c626bbd44c2ed1e74f3ffdc /cpukit/sapi/include/confdefs.h | |
parent | 2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-241f4c96378ff3ca0ad811290c1dac49b571d1cc.tar.bz2 |
2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libfs/src/imfs/fifoimfs_init.c: New file.
* libfs/Makefile.am: Reflect change above.
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c,
libfs/src/imfs/imfs_init.c, libfs/src/imfs/imfs_initsupp.c,
libfs/src/imfs/miniimfs_init.c, libfs/src/pipe/fifo.c,
libfs/src/pipe/pipe.c, libfs/src/pipe/pipe.h: Pipe support is now
link-time optional.
* sapi/include/confdefs.h: Reflect changes above.
Diffstat (limited to 'cpukit/sapi/include/confdefs.h')
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 966687b4ce..b943c6555f 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -293,7 +293,11 @@ rtems_fs_init_functions_t rtems_fs_init_helper = */ #if !defined(CONFIGURE_FILESYSTEM_ENTRY_IMFS) && \ defined(CONFIGURE_FILESYSTEM_IMFS) -#define CONFIGURE_FILESYSTEM_ENTRY_IMFS { "imfs", IMFS_initialize } + #if defined(CONFIGURE_PIPES_ENABLED) + #define CONFIGURE_FILESYSTEM_ENTRY_IMFS { "imfs", fifoIMFS_initialize } + #else + #define CONFIGURE_FILESYSTEM_ENTRY_IMFS { "imfs", IMFS_initialize } + #endif #endif /** @@ -428,20 +432,6 @@ rtems_fs_init_functions_t rtems_fs_init_helper = }; #endif - /** - * This disables the inclusion of pipe support in the full IMFS. - * - * NOTE: When building for coverage, we need this variable all the time. - */ - #if !defined(CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM) || \ - defined(RTEMS_COVERAGE) - #if defined(CONFIGURE_PIPES_ENABLED) - bool rtems_pipe_configured = true; - #else - bool rtems_pipe_configured = false; - #endif - #endif - #ifndef CONFIGURE_HAS_OWN_MOUNT_TABLE const rtems_filesystem_mount_table_t configuration_mount_table = { #if defined(CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM) |