aboutsummaryrefslogtreecommitdiff
path: root/board/ti/sdp4430/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/sdp4430/Makefile')
-rw-r--r--board/ti/sdp4430/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/ti/sdp4430/Makefile b/board/ti/sdp4430/Makefile
index f1ee5448e..12f2743d4 100644
--- a/board/ti/sdp4430/Makefile
+++ b/board/ti/sdp4430/Makefile
@@ -25,7 +25,9 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
+ifndef CONFIG_SPL_BUILD
COBJS := sdp.o cmd_bat.o
+endif
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))