mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user