summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2010-06-14 09:48:41 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2010-06-14 09:48:41 +0000
commitf89c34bb07ef9806c13a73b9354ba4ef1be462e0 (patch)
treee9070804071933a663ffd5dceb7ecb0dc203c130 /cpukit/sapi
parent2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-f89c34bb07ef9806c13a73b9354ba4ef1be462e0.tar.bz2
2010-06-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sapi/include/confdefs.h: Do not define a filesystem if CONFIGURE_APPLICATION_DISABLE_FILESYSTEM is defined.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/include/confdefs.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index d6f27c0bed..ed789eb8f4 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -254,12 +254,14 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
* If the base filesystem is DEVFS define it else define IMFS.
* We will have either DEVFS or IMFS defined after this.
*/
- #if defined(CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM)
- #define CONFIGURE_FILESYSTEM_DEVFS
- #elif defined(CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM)
- #define CONFIGURE_FILESYSTEM_miniIMFS
- #elif !defined(CONFIGURE_FILESYSTEM_IMFS)
- #define CONFIGURE_FILESYSTEM_IMFS
+ #if !defined(CONFIGURE_APPLICATION_DISABLE_FILESYSTEM)
+ #if defined(CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM)
+ #define CONFIGURE_FILESYSTEM_DEVFS
+ #elif defined(CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM)
+ #define CONFIGURE_FILESYSTEM_miniIMFS
+ #elif !defined(CONFIGURE_FILESYSTEM_IMFS)
+ #define CONFIGURE_FILESYSTEM_IMFS
+ #endif
#endif
#endif