diff --git a/configs/open1788/src/Makefile b/configs/open1788/src/Makefile index e25402ba920..fd73a9686bc 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