summaryrefslogtreecommitdiffstats
path: root/board/bachmann/ot1200/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/bachmann/ot1200/Makefile')
-rw-r--r--board/bachmann/ot1200/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/bachmann/ot1200/Makefile b/board/bachmann/ot1200/Makefile
index 1bd42e8321..9e50bfeb86 100644
--- a/board/bachmann/ot1200/Makefile
+++ b/board/bachmann/ot1200/Makefile
@@ -6,4 +6,8 @@
# SPDX-License-Identifier: GPL-2.0+
#
+ifdef CONFIG_SPL_BUILD
+obj-y := ot1200.o ot1200_spl.o
+else
obj-y := ot1200.o
+endif
OpenPOWER on IntegriCloud