diff options
Diffstat (limited to 'nuttx/fs/vfs/Make.defs')
-rw-r--r-- | nuttx/fs/vfs/Make.defs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/nuttx/fs/vfs/Make.defs b/nuttx/fs/vfs/Make.defs index 1780eabd6..b43f24572 100644 --- a/nuttx/fs/vfs/Make.defs +++ b/nuttx/fs/vfs/Make.defs @@ -70,9 +70,15 @@ else # Common file/socket descriptor support CSRCS += fs_close.c fs_dup.c fs_dup2.c fs_fcntl.c fs_dupfd.c fs_dupfd2.c -CSRCS += fs_fsync.c fs_getfilep.c fs_ioctl.c fs_lseek.c fs_mkdir.c fs_open.c -CSRCS += fs_poll.c fs_read.c fs_rename.c fs_rmdir.c fs_stat.c fs_statfs.c -CSRCS += fs_select.c fs_unlink.c fs_write.c +CSRCS += fs_getfilep.c fs_ioctl.c fs_lseek.c fs_mkdir.c fs_open.c fs_poll.c +CSRCS += fs_read.c fs_rename.c fs_rmdir.c fs_stat.c fs_statfs.c fs_select.c +CSRCS += fs_unlink.c fs_write.c + +# Certain interfaces are not available if there is no mountpoint support + +ifneq ($(CONFIG_DISABLE_MOUNTPOINT),y) +CSRCS += fs_fsync.c +endif # Support for positional file access |