Tom Rini | 47f7bca | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2012 |
| 3 | # Texas Instruments Incorporated - http://www.ti.com/ |
| 4 | # Aneesh V <aneesh@ti.com> |
| 5 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 6 | # SPDX-License-Identifier: GPL-2.0+ |
Tom Rini | 47f7bca | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 7 | # |
| 8 | # Based on common/Makefile. |
| 9 | # |
| 10 | |
Tom Rini | 47f7bca | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 11 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 12 | obj-$(CONFIG_SPL_FRAMEWORK) += spl.o |
Philipp Tomsich | f94e643 | 2017-07-04 11:16:47 +0200 | [diff] [blame^] | 13 | obj-$(CONFIG_$(SPL_TPL_)BOOTROM_SUPPORT) += spl_bootrom.o |
| 14 | obj-$(CONFIG_$(SPL_TPL_)LOAD_FIT) += spl_fit.o |
| 15 | obj-$(CONFIG_$(SPL_TPL_)SPL_NOR_SUPPORT) += spl_nor.o |
| 16 | obj-$(CONFIG_$(SPL_TPL_)SPL_XIP_SUPPORT) += spl_xip.o |
| 17 | obj-$(CONFIG_$(SPL_TPL_)SPL_YMODEM_SUPPORT) += spl_ymodem.o |
Ladislav Michl | bf55cd4 | 2016-07-12 20:28:13 +0200 | [diff] [blame] | 18 | ifndef CONFIG_SPL_UBI |
Philipp Tomsich | f94e643 | 2017-07-04 11:16:47 +0200 | [diff] [blame^] | 19 | obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += spl_nand.o |
| 20 | obj-$(CONFIG_$(SPL_TPL_)ONENAND_SUPPORT) += spl_onenand.o |
Ladislav Michl | bf55cd4 | 2016-07-12 20:28:13 +0200 | [diff] [blame] | 21 | endif |
Philipp Tomsich | f94e643 | 2017-07-04 11:16:47 +0200 | [diff] [blame^] | 22 | obj-$(CONFIG_$(SPL_TPL_)UBI) += spl_ubi.o |
| 23 | obj-$(CONFIG_$(SPL_TPL_)NET_SUPPORT) += spl_net.o |
| 24 | obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += spl_mmc.o |
| 25 | obj-$(CONFIG_$(SPL_TPL_)ATF_SUPPORT) += spl_atf.o |
| 26 | obj-$(CONFIG_$(SPL_TPL_)USB_SUPPORT) += spl_usb.o |
| 27 | obj-$(CONFIG_$(SPL_TPL_)FAT_SUPPORT) += spl_fat.o |
| 28 | obj-$(CONFIG_$(SPL_TPL_)EXT_SUPPORT) += spl_ext.o |
| 29 | obj-$(CONFIG_$(SPL_TPL_)SATA_SUPPORT) += spl_sata.o |
| 30 | obj-$(CONFIG_$(SPL_TPL_)DFU_SUPPORT) += spl_dfu.o |
| 31 | obj-$(CONFIG_$(SPL_TPL_)SPI_LOAD) += spl_spi.o |
| 32 | obj-$(CONFIG_$(SPL_TPL_)RAM_SUPPORT) += spl_ram.o |
Tom Rini | 47f7bca | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 33 | endif |