Merge git://git.denx.de/u-boot-usb
[platform/kernel/u-boot.git] / board / bachmann / ot1200 / Makefile
index 1bd42e8..9e50bfe 100644 (file)
@@ -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