summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-09 11:17:13 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-09 11:17:13 +0200
commit251c94d3d3d27e0039f01b718e5c2eb06f39fdf7 (patch)
treee78b92d9a1a49fa121db4637307cdc8d21cded3e
parentb94bbf1cb46b7d9f2aa984ff7c9b1545982684b4 (diff)
downloadrtems-251c94d3d3d27e0039f01b718e5c2eb06f39fdf7.tar.bz2
confdefs.h: Do not hide network file systems
Do not hide network file systems if RTEMS_NETWORKING is not defined, since they may be provided by the LibBSD.
-rw-r--r--cpukit/sapi/include/confdefs.h64
1 files changed, 30 insertions, 34 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index d35aaa4a4d..b75839e433 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -402,44 +402,40 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
{ RTEMS_FILESYSTEM_TYPE_DEVFS, devFS_initialize }
#endif
-#ifdef RTEMS_NETWORKING
- /**
- * FTPFS
- */
- #if !defined(CONFIGURE_FILESYSTEM_ENTRY_FTPFS) && \
- defined(CONFIGURE_FILESYSTEM_FTPFS)
- #include <rtems/ftpfs.h>
- #define CONFIGURE_FILESYSTEM_ENTRY_FTPFS \
- { RTEMS_FILESYSTEM_TYPE_FTPFS, rtems_ftpfs_initialize }
- #endif
+/**
+ * FTPFS
+ */
+#if !defined(CONFIGURE_FILESYSTEM_ENTRY_FTPFS) && \
+ defined(CONFIGURE_FILESYSTEM_FTPFS)
+ #include <rtems/ftpfs.h>
+ #define CONFIGURE_FILESYSTEM_ENTRY_FTPFS \
+ { RTEMS_FILESYSTEM_TYPE_FTPFS, rtems_ftpfs_initialize }
+#endif
- /**
- * TFTPFS
- */
- #if !defined(CONFIGURE_FILESYSTEM_ENTRY_TFTPFS) && \
- defined(CONFIGURE_FILESYSTEM_TFTPFS)
- #include <rtems/tftp.h>
- #define CONFIGURE_FILESYSTEM_ENTRY_TFTPFS \
- { RTEMS_FILESYSTEM_TYPE_TFTPFS, rtems_tftpfs_initialize }
- #endif
+/**
+ * TFTPFS
+ */
+#if !defined(CONFIGURE_FILESYSTEM_ENTRY_TFTPFS) && \
+ defined(CONFIGURE_FILESYSTEM_TFTPFS)
+ #include <rtems/tftp.h>
+ #define CONFIGURE_FILESYSTEM_ENTRY_TFTPFS \
+ { RTEMS_FILESYSTEM_TYPE_TFTPFS, rtems_tftpfs_initialize }
+#endif
- /**
- * NFS
- */
- #if !defined(CONFIGURE_FILESYSTEM_ENTRY_NFS) && \
- defined(CONFIGURE_FILESYSTEM_NFS)
- #include <librtemsNfs.h>
- #if !defined(CONFIGURE_MAXIMUM_NFS_MOUNTS)
- #define CONFIGURE_MAXIMUM_NFS_MOUNTS 1
- #endif
- #define CONFIGURE_FILESYSTEM_ENTRY_NFS \
- { RTEMS_FILESYSTEM_TYPE_NFS, rtems_nfs_initialize }
- #define CONFIGURE_SEMAPHORES_FOR_NFS ((CONFIGURE_MAXIMUM_NFS_MOUNTS * 2) + 1)
- #else
- #define CONFIGURE_SEMAPHORES_FOR_NFS 0
+/**
+ * NFS
+ */
+#if !defined(CONFIGURE_FILESYSTEM_ENTRY_NFS) && \
+ defined(CONFIGURE_FILESYSTEM_NFS)
+ #include <librtemsNfs.h>
+ #if !defined(CONFIGURE_MAXIMUM_NFS_MOUNTS)
+ #define CONFIGURE_MAXIMUM_NFS_MOUNTS 1
#endif
+ #define CONFIGURE_FILESYSTEM_ENTRY_NFS \
+ { RTEMS_FILESYSTEM_TYPE_NFS, rtems_nfs_initialize }
+ #define CONFIGURE_SEMAPHORES_FOR_NFS ((CONFIGURE_MAXIMUM_NFS_MOUNTS * 2) + 1)
#else
- #define CONFIGURE_SEMAPHORES_FOR_NFS 0
+ #define CONFIGURE_SEMAPHORES_FOR_NFS 0
#endif
/**