summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/configs/open1788/src/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/configs/open1788/src/Makefile b/nuttx/configs/open1788/src/Makefile
index e25402ba9..fd73a9686 100644
--- a/nuttx/configs/open1788/src/Makefile
+++ b/nuttx/configs/open1788/src/Makefile
@@ -40,6 +40,7 @@ CFLAGS += -I$(TOPDIR)/sched
ASRCS =
CSRCS = lpc17_boardinitialize.c lpc17_ssp.c
+ifeq ($(CONFIG_LPC17_EMC),y)
ifeq ($(CONFIG_ARCH_EXTNOR),y)
CSRCS += lpc17_norinitialize.c
endif
@@ -51,6 +52,7 @@ endif
ifeq ($(CONFIG_ARCH_EXTDRAM),y)
CSRCS += lpc17_sdraminitialize.c
endif
+endif
ifeq ($(CONFIG_LPC17_LCD),y)
CSRCS += lpc17_lcd.c