* sapi/include/confdefs.h: Do not define a filesystem if
	CONFIGURE_APPLICATION_DISABLE_FILESYSTEM is defined.
This commit is contained in:
Sebastian Huber
2010-06-14 09:48:41 +00:00
parent acc6a5433a
commit f89c34bb07
2 changed files with 13 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
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.
2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org> 2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* Doxygen.in: Use @PERL@ instead of hard-coded /usr/bin/perl. * Doxygen.in: Use @PERL@ instead of hard-coded /usr/bin/perl.

View File

@@ -254,12 +254,14 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
* If the base filesystem is DEVFS define it else define IMFS. * If the base filesystem is DEVFS define it else define IMFS.
* We will have either DEVFS or IMFS defined after this. * We will have either DEVFS or IMFS defined after this.
*/ */
#if defined(CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM) #if !defined(CONFIGURE_APPLICATION_DISABLE_FILESYSTEM)
#define CONFIGURE_FILESYSTEM_DEVFS #if defined(CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM)
#elif defined(CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM) #define CONFIGURE_FILESYSTEM_DEVFS
#define CONFIGURE_FILESYSTEM_miniIMFS #elif defined(CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM)
#elif !defined(CONFIGURE_FILESYSTEM_IMFS) #define CONFIGURE_FILESYSTEM_miniIMFS
#define CONFIGURE_FILESYSTEM_IMFS #elif !defined(CONFIGURE_FILESYSTEM_IMFS)
#define CONFIGURE_FILESYSTEM_IMFS
#endif
#endif #endif
#endif #endif