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:
patacongo 2008-10-22 22:02:44 +00:00
parent e89c5c362e
commit de5c6ffcdc
3 changed files with 4 additions and 11 deletions

View File

@ -48,12 +48,10 @@ USBDEVDEPPATH = --dep-path usbdev
CFLAGS += -I$(TOPDIR)/drivers/usbdev CFLAGS += -I$(TOPDIR)/drivers/usbdev
endif endif
ifneq ($(CONFIG_DISABLE_MOUNTPOINT),y)
include mmcsd/Make.defs include mmcsd/Make.defs
ROOTDEPPATH = --dep-path . ROOTDEPPATH = --dep-path .
MMCSDDEPPATH = --dep-path mmcsd MMCSDDEPPATH = --dep-path mmcsd
CFLAGS += -I$(TOPDIR)/drivers/mmcsd CFLAGS += -I$(TOPDIR)/drivers/mmcsd
endif
ASRCS = $(NET_ASRCS) $(USBDEV_ASRCS) $(MMCSD_ASRCS) ASRCS = $(NET_ASRCS) $(USBDEV_ASRCS) $(MMCSD_ASRCS)
AOBJS = $(ASRCS:.S=$(OBJEXT)) AOBJS = $(ASRCS:.S=$(OBJEXT))

View File

@ -34,9 +34,5 @@
############################################################################ ############################################################################
MMCSD_ASRCS = MMCSD_ASRCS =
MMCSD_CSRCS = MMCSD_CSRCS = mmcsd_spi.c mmcsd_debug.c
ifneq ($(CONFIG_DISABLE_MOUNTPOINT),y)
MMCSD_CSRCS += mmcsd_spi.c mmcsd_debug.c
endif

View File

@ -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_inode.c fs_inodefind.c fs_inodereserve.c fs_statfs.c \
fs_inoderemove.c fs_registerdriver.c fs_unregisterdriver.c \ fs_inoderemove.c fs_registerdriver.c fs_unregisterdriver.c \
fs_inodeaddref.c fs_inoderelease.c fs_inodeaddref.c fs_inoderelease.c
ifneq ($(CONFIG_DISABLE_MOUNTPOINT),y)
CSRCS += fs_registerblockdriver.c fs_unregisterblockdriver.c \ CSRCS += fs_registerblockdriver.c fs_unregisterblockdriver.c \
fs_findblockdriver.c fs_openblockdriver.c fs_closeblockdriver.c \ fs_findblockdriver.c fs_openblockdriver.c fs_closeblockdriver.c
fs_mount.c fs_umount.c \ ifneq ($(CONFIG_DISABLE_MOUNTPOINT),y)
fs_fsync.c fs_unlink.c fs_rename.c \ CSRCS += fs_mount.c fs_umount.c fs_fsync.c fs_unlink.c fs_rename.c \
fs_mkdir.c fs_rmdir.c fs_mkdir.c fs_rmdir.c
include fat/Make.defs include fat/Make.defs
include romfs/Make.defs include romfs/Make.defs