blob: e3a536d4f8c79f4869a0100373357739c47e4fdb [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0
Poonam Aggrwal91208842009-07-31 12:07:45 +05302#
Kim Phillips6578bae2010-05-28 08:00:14 +00003# Copyright 2009-2010 Freescale Semiconductor, Inc.
Poonam Aggrwal91208842009-07-31 12:07:45 +05304
Scott Wood7c810902012-09-20 16:35:21 -05005MINIMAL=
6
7ifdef CONFIG_SPL_BUILD
Tom Rini6b15c162022-05-13 12:26:35 -04008ifndef CONFIG_TPL_BUILD
Scott Wood7c810902012-09-20 16:35:21 -05009ifdef CONFIG_SPL_INIT_MINIMAL
10MINIMAL=y
11endif
12endif
Tom Rini6b15c162022-05-13 12:26:35 -040013endif
Scott Wood7c810902012-09-20 16:35:21 -050014
15ifdef MINIMAL
16
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090017obj-$(CONFIG_FSL_LAW) += law.o
Scott Wood7c810902012-09-20 16:35:21 -050018
19else
Masahiro Yamada71db7542013-11-28 12:09:59 +090020obj-$(CONFIG_MPC85xx) += cpu.o
21obj-$(CONFIG_MPC86xx) += cpu.o
Kim Phillips6578bae2010-05-28 08:00:14 +000022
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090023obj-$(CONFIG_OF_LIBFDT) += fdt.o
Masahiro Yamada4fbb29d2013-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 Bansal4b636c32016-01-22 17:05:59 +053027obj-$(CONFIG_FSL_CORENET) += fsl_pamu.o pamu_table.o
Poonam Aggrwal91208842009-07-31 12:07:45 +053028
Scott Wood7c810902012-09-20 16:35:21 -050029endif