blob: ac45e0e3dfffed036b6438f991b47d29503199e5 [file] [log] [blame]
Poonam Aggrwal91208842009-07-31 12:07:45 +05301#
Kim Phillips6578bae2010-05-28 08:00:14 +00002# Copyright 2009-2010 Freescale Semiconductor, Inc.
Poonam Aggrwal91208842009-07-31 12:07:45 +05303#
Tom Rini0cab3ec2015-11-10 01:06:16 +00004# SPDX-License-Identifier: GPL-2.0
Poonam Aggrwal91208842009-07-31 12:07:45 +05305#
6
Scott Wood7c810902012-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 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
Poonam Aggrwal91208842009-07-31 12:07:45 +053027
Scott Wood7c810902012-09-20 16:35:21 -050028endif