blob: c5592cdbb324cff9fe411ca4ad770d64b09c54c9 [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#
Tom Rinida58dec2015-11-10 01:06:16 +00004# SPDX-License-Identifier: GPL-2.0
Poonam Aggrwal18bacc22009-07-31 12:07:45 +05305#
6
Scott Wood4b919722012-09-20 16:35:21 -05007MINIMAL=
8
9ifdef CONFIG_SPL_BUILD
10ifdef CONFIG_SPL_INIT_MINIMAL
11MINIMAL=y
12endif
13endif
14
15ifdef MINIMAL
16
Masahiro Yamada06c14112013-10-17 17:35:04 +090017obj-$(CONFIG_FSL_LAW) += law.o
Scott Wood4b919722012-09-20 16:35:21 -050018
19else
Masahiro Yamadae8a8b822013-11-28 12:09:59 +090020obj-$(CONFIG_MPC85xx) += cpu.o
21obj-$(CONFIG_MPC86xx) += cpu.o
Kim Phillips5d0c3b52010-05-28 08:00:14 +000022
Masahiro Yamada06c14112013-10-17 17:35:04 +090023obj-$(CONFIG_OF_LIBFDT) += fdt.o
Masahiro Yamada06c14112013-10-17 17:35:04 +090024obj-$(CONFIG_FSL_LBC) += fsl_lbc.o
25obj-$(CONFIG_SYS_SRIO) += srio.o
26obj-$(CONFIG_FSL_LAW) += law.o
Aneesh Bansalf698e9f2016-01-22 17:05:59 +053027obj-$(CONFIG_FSL_CORENET) += fsl_pamu.o pamu_table.o
Poonam Aggrwal18bacc22009-07-31 12:07:45 +053028
Scott Wood4b919722012-09-20 16:35:21 -050029endif