]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/c29xpcie/Makefile
Merge git://git.denx.de/u-boot-spi
[u-boot] / board / freescale / c29xpcie / Makefile
index 626d48aea7ccc0a250de7984fff65808f63106ae..93b3cba03181dd4a098b0d723523a5abce247a43 100644 (file)
@@ -3,8 +3,23 @@
 #
 # SPDX-License-Identifier:     GPL-2.0+
 
+MINIMAL=
+ifdef CONFIG_SPL_BUILD
+ifdef CONFIG_SPL_INIT_MINIMAL
+MINIMAL=y
+endif
+endif
+
+ifdef MINIMAL
+obj-y  += spl_minimal.o
+else
+ifdef CONFIG_SPL_BUILD
+obj-y  += spl.o
+endif
 obj-y  += c29xpcie.o
 obj-y  += cpld.o
 obj-y  += ddr.o
+endif
+
 obj-y  += law.o
 obj-y  += tlb.o