aboutsummaryrefslogtreecommitdiff
path: root/nuttx/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/drivers')
-rw-r--r--nuttx/drivers/mmcsd/Make.defs6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/drivers/mmcsd/Make.defs b/nuttx/drivers/mmcsd/Make.defs
index 455ac286d..410da741b 100644
--- a/nuttx/drivers/mmcsd/Make.defs
+++ b/nuttx/drivers/mmcsd/Make.defs
@@ -33,15 +33,15 @@
#
############################################################################
-if ($(CONFIG_MMCSD),y)
+ifeq ($(CONFIG_MMCSD),y)
# Include MMC/SD drivers
-if ($(CONFIG_MMCSD_SDIO),y)
+ifeq ($(CONFIG_MMCSD_SDIO),y)
CSRCS += mmcsd_sdio.c
endif
-if ($(CONFIG_MMCSD_SPI),y)
+ifeq ($(CONFIG_MMCSD_SPI),y)
CSRCS += mmcsd_spi.c mmcsd_debug.c
endif