summaryrefslogtreecommitdiffstats
path: root/board/spear/spear600/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/spear/spear600/Makefile')
-rw-r--r--board/spear/spear600/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/spear/spear600/Makefile b/board/spear/spear600/Makefile
index e2bd5ab7f5..ee66fc6520 100644
--- a/board/spear/spear600/Makefile
+++ b/board/spear/spear600/Makefile
@@ -25,7 +25,9 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
+ifndef CONFIG_SPL_BUILD
COBJS := spear600.o
+endif
SOBJS :=
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OpenPOWER on IntegriCloud