blob: bec891d5401c952c814cbf64e5b244d60ca374ca [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0
Poonam Aggrwal18bacc22009-07-31 12:07:45 +05302#
Kim Phillips5d0c3b52010-05-28 08:00:14 +00003# Copyright 2009-2010 Freescale Semiconductor, Inc.
Poonam Aggrwal18bacc22009-07-31 12:07:45 +05304
Scott Wood4b919722012-09-20 16:35:21 -05005MINIMAL=
6
7ifdef CONFIG_SPL_BUILD
8ifdef CONFIG_SPL_INIT_MINIMAL
9MINIMAL=y
10endif
11endif
12
13ifdef MINIMAL
14
Masahiro Yamada06c14112013-10-17 17:35:04 +090015obj-$(CONFIG_FSL_LAW) += law.o
Scott Wood4b919722012-09-20 16:35:21 -050016
17else
Masahiro Yamadae8a8b822013-11-28 12:09:59 +090018obj-$(CONFIG_MPC85xx) += cpu.o
19obj-$(CONFIG_MPC86xx) += cpu.o
Kim Phillips5d0c3b52010-05-28 08:00:14 +000020
Masahiro Yamada06c14112013-10-17 17:35:04 +090021obj-$(CONFIG_OF_LIBFDT) += fdt.o
Masahiro Yamada06c14112013-10-17 17:35:04 +090022obj-$(CONFIG_FSL_LBC) += fsl_lbc.o
23obj-$(CONFIG_SYS_SRIO) += srio.o
24obj-$(CONFIG_FSL_LAW) += law.o
Aneesh Bansalf698e9f2016-01-22 17:05:59 +053025obj-$(CONFIG_FSL_CORENET) += fsl_pamu.o pamu_table.o
Poonam Aggrwal18bacc22009-07-31 12:07:45 +053026
Scott Wood4b919722012-09-20 16:35:21 -050027endif