summaryrefslogtreecommitdiff
path: root/board/ti/sdp4430/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/sdp4430/Makefile')
-rw-r--r--board/ti/sdp4430/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/ti/sdp4430/Makefile b/board/ti/sdp4430/Makefile
index 806fdf4..72ad3eb 100644
--- a/board/ti/sdp4430/Makefile
+++ b/board/ti/sdp4430/Makefile
@@ -25,8 +25,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
+COBJS := sdp.o
+
ifndef CONFIG_SPL_BUILD
-COBJS := sdp.o cmd_bat.o
+COBJS += cmd_bat.o
endif
SRCS := $(COBJS:.o=.c)