summaryrefslogtreecommitdiff
path: root/board/spear/common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/spear/common/Makefile')
-rw-r--r--board/spear/common/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/spear/common/Makefile b/board/spear/common/Makefile
index 11f81e4803..5c66c3f092 100644
--- a/board/spear/common/Makefile
+++ b/board/spear/common/Makefile
@@ -29,8 +29,10 @@ endif
LIB = $(obj)lib$(VENDOR).o
+ifndef CONFIG_SPL_BUILD
COBJS := spr_misc.o
SOBJS := spr_lowlevel_init.o
+endif
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))