Con't build external memory files if EMC support is not enabled

This commit is contained in:
Gregory Nutt 2013-04-18 11:39:57 -06:00
parent 58bebcaac4
commit 3acdb415bf

View File

@ -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