summaryrefslogtreecommitdiff
path: root/board/spear/spear600
diff options
context:
space:
mode:
Diffstat (limited to 'board/spear/spear600')
-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 e2bd5ab..ee66fc6 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)