Con't build external memory files if EMC support is not enabled
This commit is contained in:
parent
58bebcaac4
commit
3acdb415bf
@ -40,6 +40,7 @@ CFLAGS += -I$(TOPDIR)/sched
|
|||||||
ASRCS =
|
ASRCS =
|
||||||
CSRCS = lpc17_boardinitialize.c lpc17_ssp.c
|
CSRCS = lpc17_boardinitialize.c lpc17_ssp.c
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_LPC17_EMC),y)
|
||||||
ifeq ($(CONFIG_ARCH_EXTNOR),y)
|
ifeq ($(CONFIG_ARCH_EXTNOR),y)
|
||||||
CSRCS += lpc17_norinitialize.c
|
CSRCS += lpc17_norinitialize.c
|
||||||
endif
|
endif
|
||||||
@ -51,6 +52,7 @@ endif
|
|||||||
ifeq ($(CONFIG_ARCH_EXTDRAM),y)
|
ifeq ($(CONFIG_ARCH_EXTDRAM),y)
|
||||||
CSRCS += lpc17_sdraminitialize.c
|
CSRCS += lpc17_sdraminitialize.c
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_LPC17_LCD),y)
|
ifeq ($(CONFIG_LPC17_LCD),y)
|
||||||
CSRCS += lpc17_lcd.c
|
CSRCS += lpc17_lcd.c
|
||||||
|
Loading…
Reference in New Issue
Block a user