Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Poonam Aggrwal | 9120884 | 2009-07-31 12:07:45 +0530 | [diff] [blame] | 2 | # |
Kim Phillips | 6578bae | 2010-05-28 08:00:14 +0000 | [diff] [blame] | 3 | # Copyright 2009-2010 Freescale Semiconductor, Inc. |
Poonam Aggrwal | 9120884 | 2009-07-31 12:07:45 +0530 | [diff] [blame] | 4 | |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 5 | MINIMAL= |
6 | |||||
7 | ifdef CONFIG_SPL_BUILD | ||||
Tom Rini | 6b15c16 | 2022-05-13 12:26:35 -0400 | [diff] [blame] | 8 | ifndef CONFIG_TPL_BUILD |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 9 | ifdef CONFIG_SPL_INIT_MINIMAL |
10 | MINIMAL=y | ||||
11 | endif | ||||
12 | endif | ||||
Tom Rini | 6b15c16 | 2022-05-13 12:26:35 -0400 | [diff] [blame] | 13 | endif |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 14 | |
15 | ifdef MINIMAL | ||||
16 | |||||
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 17 | obj-$(CONFIG_FSL_LAW) += law.o |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 18 | |
19 | else | ||||
Masahiro Yamada | 71db754 | 2013-11-28 12:09:59 +0900 | [diff] [blame] | 20 | obj-$(CONFIG_MPC85xx) += cpu.o |
21 | obj-$(CONFIG_MPC86xx) += cpu.o | ||||
Kim Phillips | 6578bae | 2010-05-28 08:00:14 +0000 | [diff] [blame] | 22 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 23 | obj-$(CONFIG_OF_LIBFDT) += fdt.o |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame] | 24 | obj-$(CONFIG_FSL_LBC) += fsl_lbc.o |
25 | obj-$(CONFIG_SYS_SRIO) += srio.o | ||||
26 | obj-$(CONFIG_FSL_LAW) += law.o | ||||
Aneesh Bansal | 4b636c3 | 2016-01-22 17:05:59 +0530 | [diff] [blame] | 27 | obj-$(CONFIG_FSL_CORENET) += fsl_pamu.o pamu_table.o |
Poonam Aggrwal | 9120884 | 2009-07-31 12:07:45 +0530 | [diff] [blame] | 28 | |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 29 | endif |