summaryrefslogtreecommitdiff
path: root/nuttx/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/drivers')
-rw-r--r--nuttx/drivers/Makefile2
-rw-r--r--nuttx/drivers/mmcsd/Make.defs6
2 files changed, 1 insertions, 7 deletions
diff --git a/nuttx/drivers/Makefile b/nuttx/drivers/Makefile
index 70f10d19d..df5c838f8 100644
--- a/nuttx/drivers/Makefile
+++ b/nuttx/drivers/Makefile
@@ -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))
diff --git a/nuttx/drivers/mmcsd/Make.defs b/nuttx/drivers/mmcsd/Make.defs
index 459b317d6..50552b9f9 100644
--- a/nuttx/drivers/mmcsd/Make.defs
+++ b/nuttx/drivers/mmcsd/Make.defs
@@ -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