summaryrefslogtreecommitdiff
path: root/board/bf537-stamp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/bf537-stamp/Makefile')
-rw-r--r--board/bf537-stamp/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/bf537-stamp/Makefile b/board/bf537-stamp/Makefile
index cb38b96..199093b 100644
--- a/board/bf537-stamp/Makefile
+++ b/board/bf537-stamp/Makefile
@@ -29,9 +29,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-COBJS-y := $(BOARD).o post-memory.o cmd_bf537led.o
+COBJS-y := $(BOARD).o cmd_bf537led.o
COBJS-$(CONFIG_CMD_EEPROM) += spi_flash.o
COBJS-$(CONFIG_CMD_NAND) += nand.o
+COBJS-$(CONFIG_POST) += post-memory.o
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS-y))