From f89c34bb07ef9806c13a73b9354ba4ef1be462e0 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 14 Jun 2010 09:48:41 +0000 Subject: 2010-06-14 Sebastian Huber * sapi/include/confdefs.h: Do not define a filesystem if CONFIGURE_APPLICATION_DISABLE_FILESYSTEM is defined. --- cpukit/sapi/include/confdefs.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'cpukit/sapi') 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 -- cgit v1.2.3