blob: 9bf8a2d81a42b1fb7d593299f52678180c7d6101 [file] [log] [blame]
Tom Rini47f7bca2012-08-13 12:03:19 -07001#
2# (C) Copyright 2012
3# Texas Instruments Incorporated - http://www.ti.com/
4# Aneesh V <aneesh@ti.com>
5#
Wolfgang Denk1a459662013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Tom Rini47f7bca2012-08-13 12:03:19 -07007#
8# Based on common/Makefile.
9#
10
Tom Rini47f7bca2012-08-13 12:03:19 -070011ifdef CONFIG_SPL_BUILD
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090012obj-$(CONFIG_SPL_FRAMEWORK) += spl.o
Philipp Tomsichf94e6432017-07-04 11:16:47 +020013obj-$(CONFIG_$(SPL_TPL_)BOOTROM_SUPPORT) += spl_bootrom.o
14obj-$(CONFIG_$(SPL_TPL_)LOAD_FIT) += spl_fit.o
Philipp Tomsichb5c4d812017-08-17 10:06:59 +020015obj-$(CONFIG_$(SPL_TPL_)NOR_SUPPORT) += spl_nor.o
16obj-$(CONFIG_$(SPL_TPL_)XIP_SUPPORT) += spl_xip.o
17obj-$(CONFIG_$(SPL_TPL_)YMODEM_SUPPORT) += spl_ymodem.o
Ladislav Michlbf55cd42016-07-12 20:28:13 +020018ifndef CONFIG_SPL_UBI
Philipp Tomsichf94e6432017-07-04 11:16:47 +020019obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += spl_nand.o
20obj-$(CONFIG_$(SPL_TPL_)ONENAND_SUPPORT) += spl_onenand.o
Ladislav Michlbf55cd42016-07-12 20:28:13 +020021endif
Philipp Tomsichf94e6432017-07-04 11:16:47 +020022obj-$(CONFIG_$(SPL_TPL_)UBI) += spl_ubi.o
23obj-$(CONFIG_$(SPL_TPL_)NET_SUPPORT) += spl_net.o
24obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += spl_mmc.o
Philipp Tomsichaa122f62017-09-13 21:29:36 +020025obj-$(CONFIG_$(SPL_TPL_)ATF) += spl_atf.o
Philipp Tomsichf94e6432017-07-04 11:16:47 +020026obj-$(CONFIG_$(SPL_TPL_)USB_SUPPORT) += spl_usb.o
27obj-$(CONFIG_$(SPL_TPL_)FAT_SUPPORT) += spl_fat.o
28obj-$(CONFIG_$(SPL_TPL_)EXT_SUPPORT) += spl_ext.o
29obj-$(CONFIG_$(SPL_TPL_)SATA_SUPPORT) += spl_sata.o
30obj-$(CONFIG_$(SPL_TPL_)DFU_SUPPORT) += spl_dfu.o
31obj-$(CONFIG_$(SPL_TPL_)SPI_LOAD) += spl_spi.o
32obj-$(CONFIG_$(SPL_TPL_)RAM_SUPPORT) += spl_ram.o
Stefan Agnera3774c12017-08-16 11:00:54 -070033obj-$(CONFIG_$(SPL_TPL_)USB_SDP_SUPPORT) += spl_sdp.o
Tom Rini47f7bca2012-08-13 12:03:19 -070034endif