summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-04-18 11:39:57 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-04-18 11:39:57 -0600
commit05488e4a0b6429c910b616f8ca03efc3ef6800f8 (patch)
treee6cf0a6fc00c0b9e202dafa571b4c55b56a34d58 /nuttx
parent532268690e211c3e9c65e168aa199c6816bb4aff (diff)
downloadpx4-nuttx-05488e4a0b6429c910b616f8ca03efc3ef6800f8.tar.gz
px4-nuttx-05488e4a0b6429c910b616f8ca03efc3ef6800f8.tar.bz2
px4-nuttx-05488e4a0b6429c910b616f8ca03efc3ef6800f8.zip
Con't build external memory files if EMC support is not enabled
Diffstat (limited to 'nuttx')
-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