Use linker set for root file system initialization

Update #2408.
This commit is contained in:
Sebastian Huber
2016-02-03 10:00:57 +01:00
parent 529b08a705
commit 3d36164fe5
5 changed files with 31 additions and 12 deletions
+6 -5
View File
@@ -136,11 +136,12 @@ const rtems_libio_helper rtems_libio_exit_helper =
rtems_libio_exit;
#endif
const rtems_libio_helper rtems_fs_init_helper =
#ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
rtems_libio_helper_null;
#else
rtems_filesystem_initialize;
#ifndef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
RTEMS_SYSINIT_ITEM(
rtems_filesystem_initialize,
RTEMS_SYSINIT_ROOT_FILESYSTEM,
RTEMS_SYSINIT_ORDER_MIDDLE
);
#endif
#endif
#endif