summaryrefslogtreecommitdiff
path: root/board/freescale/p1_p2_rdb/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-05-16 18:30:33 -0400
committerTom Rini <trini@ti.com>2014-05-16 18:30:33 -0400
commitd7782d06534fe4fa47a49fa7c106de5ba85a9687 (patch)
treee760132f68c183ae886804de9c644649798b049c /board/freescale/p1_p2_rdb/Makefile
parent6be6b6bcbac62e356d05bdde488fc9f0eef7084a (diff)
parente4911815cf98237b65a817a3c791f143794f2837 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'board/freescale/p1_p2_rdb/Makefile')
-rw-r--r--board/freescale/p1_p2_rdb/Makefile21
1 files changed, 20 insertions, 1 deletions
diff --git a/board/freescale/p1_p2_rdb/Makefile b/board/freescale/p1_p2_rdb/Makefile
index f7b568a0216..a97bf45f00f 100644
--- a/board/freescale/p1_p2_rdb/Makefile
+++ b/board/freescale/p1_p2_rdb/Makefile
@@ -4,8 +4,27 @@
# 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 tlb.o law.o
+
+else
+ifdef CONFIG_SPL_BUILD
+obj-y += spl.o
+else
obj-y += p1_p2_rdb.o
+obj-$(CONFIG_PCI) += pci.o
+endif
obj-y += ddr.o
obj-y += law.o
-obj-$(CONFIG_PCI) += pci.o
obj-y += tlb.o
+
+endif