[PATCH] config: Remove filesystem entry config options

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Mar 31 10:48:52 UTC 2020


Remove the following undocumented configuration options:

* CONFIGURE_FILESYSTEM_ENTRY_DEVFS

* CONFIGURE_FILESYSTEM_ENTRY_DOSFS

* CONFIGURE_FILESYSTEM_ENTRY_FTPFS

* CONFIGURE_FILESYSTEM_ENTRY_IMFS

* CONFIGURE_FILESYSTEM_ENTRY_JFFS2

* CONFIGURE_FILESYSTEM_ENTRY_NFS

* CONFIGURE_FILESYSTEM_ENTRY_RFS

* CONFIGURE_FILESYSTEM_ENTRY_TFTPFS
---
 cpukit/include/rtems/confdefs/libio.h | 80 +++++++----------------------------
 1 file changed, 16 insertions(+), 64 deletions(-)

diff --git a/cpukit/include/rtems/confdefs/libio.h b/cpukit/include/rtems/confdefs/libio.h
index 603b2882c1..0b905c5437 100644
--- a/cpukit/include/rtems/confdefs/libio.h
+++ b/cpukit/include/rtems/confdefs/libio.h
@@ -273,79 +273,31 @@ static const IMFS_mount_data IMFS_root_mount_data = {
   &IMFS_root_mknod_controls
 };
 
-#if defined(CONFIGURE_FILESYSTEM_DEVFS) \
-  && !defined(CONFIGURE_FILESYSTEM_ENTRY_DEVFS)
-  #define CONFIGURE_FILESYSTEM_ENTRY_DEVFS \
-    { RTEMS_FILESYSTEM_TYPE_DEVFS, devFS_initialize }
-#endif
-
-#if defined(CONFIGURE_FILESYSTEM_DOSFS) \
-  && !defined(CONFIGURE_FILESYSTEM_ENTRY_DOSFS)
-  #define CONFIGURE_FILESYSTEM_ENTRY_DOSFS \
-    { RTEMS_FILESYSTEM_TYPE_DOSFS, rtems_dosfs_initialize }
-#endif
-
-#if defined(CONFIGURE_FILESYSTEM_FTPFS) \
-  && !defined(CONFIGURE_FILESYSTEM_ENTRY_FTPFS)
-  #define CONFIGURE_FILESYSTEM_ENTRY_FTPFS \
-    { RTEMS_FILESYSTEM_TYPE_FTPFS, rtems_ftpfs_initialize }
-#endif
-
-#if defined(CONFIGURE_FILESYSTEM_IMFS) \
-  && !defined(CONFIGURE_FILESYSTEM_ENTRY_IMFS)
-  #define CONFIGURE_FILESYSTEM_ENTRY_IMFS \
-    { RTEMS_FILESYSTEM_TYPE_IMFS, IMFS_initialize }
-#endif
-
-#if defined(CONFIGURE_FILESYSTEM_JFFS2) \
-  && !defined(CONFIGURE_FILESYSTEM_ENTRY_JFFS2)
-  #define CONFIGURE_FILESYSTEM_ENTRY_JFFS2 \
-    { RTEMS_FILESYSTEM_TYPE_JFFS2, rtems_jffs2_initialize }
-#endif
-
-#if defined(CONFIGURE_FILESYSTEM_NFS) \
-  && !defined(CONFIGURE_FILESYSTEM_ENTRY_NFS)
-  #define CONFIGURE_FILESYSTEM_ENTRY_NFS \
-    { RTEMS_FILESYSTEM_TYPE_NFS, rtems_nfs_initialize }
-#endif
-
-#if defined(CONFIGURE_FILESYSTEM_RFS) \
-  && !defined(CONFIGURE_FILESYSTEM_ENTRY_RFS)
-  #define CONFIGURE_FILESYSTEM_ENTRY_RFS \
-    { RTEMS_FILESYSTEM_TYPE_RFS, rtems_rfs_rtems_initialise }
-#endif
-
-#if defined(CONFIGURE_FILESYSTEM_TFTPFS) \
-  && !defined(CONFIGURE_FILESYSTEM_ENTRY_TFTPFS)
-  #define CONFIGURE_FILESYSTEM_ENTRY_TFTPFS \
-    { RTEMS_FILESYSTEM_TYPE_TFTPFS, rtems_tftpfs_initialize }
-#endif
-
 const rtems_filesystem_table_t rtems_filesystem_table[] = {
   { "/", IMFS_initialize_support },
-  #ifdef CONFIGURE_FILESYSTEM_ENTRY_DEVFS
-    CONFIGURE_FILESYSTEM_ENTRY_DEVFS,
+  #ifdef CONFIGURE_FILESYSTEM_DEVFS
+    { RTEMS_FILESYSTEM_TYPE_DEVFS, devFS_initialize },
   #endif
-  #ifdef CONFIGURE_FILESYSTEM_ENTRY_DOSFS
-    CONFIGURE_FILESYSTEM_ENTRY_DOSFS,
+  #ifdef CONFIGURE_FILESYSTEM_DOSFS
+    { RTEMS_FILESYSTEM_TYPE_DOSFS, rtems_dosfs_initialize },
   #endif
-  #ifdef CONFIGURE_FILESYSTEM_ENTRY_FTPFS
-    CONFIGURE_FILESYSTEM_ENTRY_FTPFS,
+  #ifdef CONFIGURE_FILESYSTEM_FTPFS
+    { RTEMS_FILESYSTEM_TYPE_FTPFS, rtems_ftpfs_initialize },
   #endif
-  #ifdef CONFIGURE_FILESYSTEM_ENTRY_IMFS
-    CONFIGURE_FILESYSTEM_ENTRY_IMFS,
+  #ifdef CONFIGURE_FILESYSTEM_IMFS
+    { RTEMS_FILESYSTEM_TYPE_IMFS, IMFS_initialize },
   #endif
-  #ifdef CONFIGURE_FILESYSTEM_ENTRY_JFFS2
-    CONFIGURE_FILESYSTEM_ENTRY_JFFS2,
+  #ifdef CONFIGURE_FILESYSTEM_JFFS2
+    { RTEMS_FILESYSTEM_TYPE_JFFS2, rtems_jffs2_initialize },
   #endif
-  #ifdef CONFIGURE_FILESYSTEM_ENTRY_NFS
-    CONFIGURE_FILESYSTEM_ENTRY_NFS,
+  #ifdef CONFIGURE_FILESYSTEM_NFS
+    { RTEMS_FILESYSTEM_TYPE_NFS, rtems_nfs_initialize },
   #endif
-  #ifdef CONFIGURE_FILESYSTEM_ENTRY_RFS
-    CONFIGURE_FILESYSTEM_ENTRY_RFS,
+  #ifdef CONFIGURE_FILESYSTEM_RFS
+    { RTEMS_FILESYSTEM_TYPE_RFS, rtems_rfs_rtems_initialise },
   #endif
-  #ifdef CONFIGURE_FILESYSTEM_ENTRY_TFTPFS
-    CONFIGURE_FILESYSTEM_ENTRY_TFTPFS,
+  #ifdef CONFIGURE_FILESYSTEM_TFTPFS
+    { RTEMS_FILESYSTEM_TYPE_TFTPFS, rtems_tftpfs_initialize },
   #endif
   { NULL, NULL }
 };
-- 
2.16.4



More information about the devel mailing list