From bc03f2c8006d0a306a78807dc05e9e0b43f7bab4 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 18 Apr 2013 11:39:57 -0600 Subject: [PATCH] Con't build external memory files if EMC support is not enabled --- configs/open1788/src/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/open1788/src/Makefile b/configs/open1788/src/Makefile index e25402ba92..fd73a9686b 100644 --- a/configs/open1788/src/Makefile +++ b/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