summaryrefslogtreecommitdiff
path: root/board/vpac270/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/vpac270/Makefile')
-rw-r--r--board/vpac270/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/vpac270/Makefile b/board/vpac270/Makefile
index b5c60fd..5967055 100644
--- a/board/vpac270/Makefile
+++ b/board/vpac270/Makefile
@@ -23,7 +23,11 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
+ifndef CONFIG_SPL_BUILD
COBJS := vpac270.o
+else
+COBJS := onenand.o
+endif
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))