blob: 395fed16b6f1ee080fbc0d773a817f302229f375 [file] [log] [blame]
Poonam Aggrwal18bacc22009-07-31 12:07:45 +05301#
Kim Phillips5d0c3b52010-05-28 08:00:14 +00002# Copyright 2009-2010 Freescale Semiconductor, Inc.
Poonam Aggrwal18bacc22009-07-31 12:07:45 +05303#
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
Scott Wood4b919722012-09-20 16:35:21 -05009MINIMAL=
10
11ifdef CONFIG_SPL_BUILD
12ifdef CONFIG_SPL_INIT_MINIMAL
13MINIMAL=y
14endif
15endif
16
17ifdef MINIMAL
18
Masahiro Yamada06c14112013-10-17 17:35:04 +090019obj-$(CONFIG_FSL_LAW) += law.o
Scott Wood4b919722012-09-20 16:35:21 -050020
21else
22
Kim Phillips5d0c3b52010-05-28 08:00:14 +000023ifneq ($(CPU),mpc83xx)
Masahiro Yamada06c14112013-10-17 17:35:04 +090024obj-y += cpu.o
Kim Phillips5d0c3b52010-05-28 08:00:14 +000025endif
26
Masahiro Yamada06c14112013-10-17 17:35:04 +090027obj-$(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
Poonam Aggrwal18bacc22009-07-31 12:07:45 +053032
Scott Wood4b919722012-09-20 16:35:21 -050033endif