Poonam Aggrwal | 9120884 | 2009-07-31 12:07:45 +0530 | [diff] [blame] | 1 | # |
Kim Phillips | 6578bae | 2010-05-28 08:00:14 +0000 | [diff] [blame] | 2 | # Copyright 2009-2010 Freescale Semiconductor, Inc. |
Poonam Aggrwal | 9120884 | 2009-07-31 12:07:45 +0530 | [diff] [blame] | 3 | # |
| 4 | # This program is free software; you can redistribute it and/or |
| 5 | # modify it under the terms of the GNU General Public License |
| 6 | # Version 2 as published by the Free Software Foundation. |
| 7 | # |
| 8 | |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 9 | MINIMAL= |
| 10 | |
| 11 | ifdef CONFIG_SPL_BUILD |
| 12 | ifdef CONFIG_SPL_INIT_MINIMAL |
| 13 | MINIMAL=y |
| 14 | endif |
| 15 | endif |
| 16 | |
| 17 | ifdef MINIMAL |
| 18 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame^] | 19 | obj-$(CONFIG_FSL_LAW) += law.o |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 20 | |
| 21 | else |
| 22 | |
Kim Phillips | 6578bae | 2010-05-28 08:00:14 +0000 | [diff] [blame] | 23 | ifneq ($(CPU),mpc83xx) |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame^] | 24 | obj-y += cpu.o |
Kim Phillips | 6578bae | 2010-05-28 08:00:14 +0000 | [diff] [blame] | 25 | endif |
| 26 | |
Masahiro Yamada | 4fbb29d | 2013-10-17 17:35:04 +0900 | [diff] [blame^] | 27 | obj-$(CONFIG_OF_LIBFDT) += fdt.o |
| 28 | obj-$(CONFIG_FSL_IFC) += fsl_ifc.o |
| 29 | obj-$(CONFIG_FSL_LBC) += fsl_lbc.o |
| 30 | obj-$(CONFIG_SYS_SRIO) += srio.o |
| 31 | obj-$(CONFIG_FSL_LAW) += law.o |
Poonam Aggrwal | 9120884 | 2009-07-31 12:07:45 +0530 | [diff] [blame] | 32 | |
Scott Wood | 7c81090 | 2012-09-20 16:35:21 -0500 | [diff] [blame] | 33 | endif |