blob: bec891d5401c952c814cbf64e5b244d60ca374ca [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
8ifdef CONFIG_SPL_INIT_MINIMAL
9MINIMAL=y
10endif
11endif
12
13ifdef MINIMAL
14
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090015obj-$(CONFIG_FSL_LAW) += law.o
Scott Wood7c810902012-09-20 16:35:21 -050016
17else
Masahiro Yamada71db7542013-11-28 12:09:59 +090018obj-$(CONFIG_MPC85xx) += cpu.o
19obj-$(CONFIG_MPC86xx) += cpu.o
Kim Phillips6578bae2010-05-28 08:00:14 +000020
Masahiro Yamada4fbb29d2013-10-17 17:35:04 +090021obj-$(CONFIG_OF_LIBFDT) += fdt.o
Masahiro Yamada4fbb29d2013-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 Bansal4b636c32016-01-22 17:05:59 +053025obj-$(CONFIG_FSL_CORENET) += fsl_pamu.o pamu_table.o
Poonam Aggrwal91208842009-07-31 12:07:45 +053026
Scott Wood7c810902012-09-20 16:35:21 -050027endif