Allow block drivers without mountpoint support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1063 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
e89c5c362e
commit
de5c6ffcdc
|
@ -48,12 +48,10 @@ USBDEVDEPPATH = --dep-path usbdev
|
|||
CFLAGS += -I$(TOPDIR)/drivers/usbdev
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_DISABLE_MOUNTPOINT),y)
|
||||
include mmcsd/Make.defs
|
||||
ROOTDEPPATH = --dep-path .
|
||||
MMCSDDEPPATH = --dep-path mmcsd
|
||||
CFLAGS += -I$(TOPDIR)/drivers/mmcsd
|
||||
endif
|
||||
|
||||
ASRCS = $(NET_ASRCS) $(USBDEV_ASRCS) $(MMCSD_ASRCS)
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
|
|
|
@ -34,9 +34,5 @@
|
|||
############################################################################
|
||||
|
||||
MMCSD_ASRCS =
|
||||
MMCSD_CSRCS =
|
||||
|
||||
ifneq ($(CONFIG_DISABLE_MOUNTPOINT),y)
|
||||
MMCSD_CSRCS += mmcsd_spi.c mmcsd_debug.c
|
||||
endif
|
||||
MMCSD_CSRCS = mmcsd_spi.c mmcsd_debug.c
|
||||
|
||||
|
|
|
@ -50,11 +50,10 @@ CSRCS += fs_open.c fs_close.c fs_read.c fs_write.c fs_ioctl.c fs_lseek.c \
|
|||
fs_inode.c fs_inodefind.c fs_inodereserve.c fs_statfs.c \
|
||||
fs_inoderemove.c fs_registerdriver.c fs_unregisterdriver.c \
|
||||
fs_inodeaddref.c fs_inoderelease.c
|
||||
ifneq ($(CONFIG_DISABLE_MOUNTPOINT),y)
|
||||
CSRCS += fs_registerblockdriver.c fs_unregisterblockdriver.c \
|
||||
fs_findblockdriver.c fs_openblockdriver.c fs_closeblockdriver.c \
|
||||
fs_mount.c fs_umount.c \
|
||||
fs_fsync.c fs_unlink.c fs_rename.c \
|
||||
fs_findblockdriver.c fs_openblockdriver.c fs_closeblockdriver.c
|
||||
ifneq ($(CONFIG_DISABLE_MOUNTPOINT),y)
|
||||
CSRCS += fs_mount.c fs_umount.c fs_fsync.c fs_unlink.c fs_rename.c \
|
||||
fs_mkdir.c fs_rmdir.c
|
||||
include fat/Make.defs
|
||||
include romfs/Make.defs
|
||||
|
|
Loading…
Reference in New Issue