Don't build pread()/pwrite() if file system support is disabled

This commit is contained in:
Gregory Nutt 2014-12-28 15:20:41 -06:00
parent cc640b6639
commit 936e4e529d

View File

@ -43,10 +43,6 @@ ifneq ($(CONFIG_NSOCKET_DESCRIPTORS),0)
CSRCS += fs_close.c fs_read.c fs_write.c fs_ioctl.c fs_poll.c fs_select.c
# Support for positional file access
CSRCS += fs_pread.c fs_pwrite.c
# Support for network access using streams
ifneq ($(CONFIG_NFILE_STREAMS),0)