xref: /openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/Makefile (revision 4810400e)
1#
2# Copyright 2009-2010 Freescale Semiconductor, Inc.
3#
4# This program is free software; you can redistribute it and/or
5# modify it under the terms of the GNU General Public License
6# Version 2 as published by the Free Software Foundation.
7#
8
9MINIMAL=
10
11ifdef CONFIG_SPL_BUILD
12ifdef CONFIG_SPL_INIT_MINIMAL
13MINIMAL=y
14endif
15endif
16
17ifdef MINIMAL
18
19obj-$(CONFIG_FSL_LAW) += law.o
20
21else
22
23ifneq ($(CPU),mpc83xx)
24obj-y	+= cpu.o
25endif
26
27obj-$(CONFIG_OF_LIBFDT) += fdt.o
28obj-$(CONFIG_FSL_IFC) += fsl_ifc.o
29obj-$(CONFIG_FSL_LBC) += fsl_lbc.o
30obj-$(CONFIG_SYS_SRIO) += srio.o
31obj-$(CONFIG_FSL_LAW) += law.o
32
33endif
34