blob: db8fd36a26105074b63eb99c2eb1dd1816461abe [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Tom Rini47f7bca2012-08-13 12:03:19 -07002#
3# (C) Copyright 2012
4# Texas Instruments Incorporated - http://www.ti.com/
5# Aneesh V <aneesh@ti.com>
Tom Rini47f7bca2012-08-13 12:03:19 -07006# Based on common/Makefile.
7#
8
Tom Rini47f7bca2012-08-13 12:03:19 -07009ifdef CONFIG_SPL_BUILD
Heiko Stuebner22b7b862019-07-16 10:12:02 +020010obj-$(CONFIG_$(SPL_TPL_)FRAMEWORK) += spl.o
Philipp Tomsichf94e6432017-07-04 11:16:47 +020011obj-$(CONFIG_$(SPL_TPL_)BOOTROM_SUPPORT) += spl_bootrom.o
12obj-$(CONFIG_$(SPL_TPL_)LOAD_FIT) += spl_fit.o
Stefan Roesec1108172020-04-21 09:28:41 +020013obj-$(CONFIG_$(SPL_TPL_)LEGACY_IMAGE_SUPPORT) += spl_legacy.o
Philipp Tomsichb5c4d812017-08-17 10:06:59 +020014obj-$(CONFIG_$(SPL_TPL_)NOR_SUPPORT) += spl_nor.o
15obj-$(CONFIG_$(SPL_TPL_)XIP_SUPPORT) += spl_xip.o
16obj-$(CONFIG_$(SPL_TPL_)YMODEM_SUPPORT) += spl_ymodem.o
Ladislav Michlbf55cd42016-07-12 20:28:13 +020017ifndef CONFIG_SPL_UBI
Philipp Tomsichf94e6432017-07-04 11:16:47 +020018obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += spl_nand.o
19obj-$(CONFIG_$(SPL_TPL_)ONENAND_SUPPORT) += spl_onenand.o
Ladislav Michlbf55cd42016-07-12 20:28:13 +020020endif
Philipp Tomsichf94e6432017-07-04 11:16:47 +020021obj-$(CONFIG_$(SPL_TPL_)UBI) += spl_ubi.o
Simon Glass5ed16a92021-08-08 12:20:30 -060022obj-$(CONFIG_$(SPL_TPL_)NET) += spl_net.o
Simon Glass103c5f12021-08-08 12:20:09 -060023obj-$(CONFIG_$(SPL_TPL_)MMC) += spl_mmc.o
Philipp Tomsichaa122f62017-09-13 21:29:36 +020024obj-$(CONFIG_$(SPL_TPL_)ATF) += spl_atf.o
Patrick Delaunay51827f92021-09-02 11:56:16 +020025obj-$(CONFIG_$(SPL_TPL_)OPTEE_IMAGE) += spl_optee.o
Lukas Auer5e30e452019-08-21 21:14:44 +020026obj-$(CONFIG_$(SPL_TPL_)OPENSBI) += spl_opensbi.o
Abel Vesa79536012019-02-01 16:40:07 +000027obj-$(CONFIG_$(SPL_TPL_)USB_STORAGE) += spl_usb.o
Tien Fong Chee0c3a9ed2019-01-23 14:20:03 +080028obj-$(CONFIG_$(SPL_TPL_)FS_FAT) += spl_fat.o
Tien Fong Cheef4b40922019-01-23 14:20:05 +080029obj-$(CONFIG_$(SPL_TPL_)FS_EXT4) += spl_ext.o
Simon Glassf7560372021-08-08 12:20:17 -060030obj-$(CONFIG_$(SPL_TPL_)SATA) += spl_sata.o
Andrew F. Davis6536ca42019-01-17 13:43:02 -060031obj-$(CONFIG_$(SPL_TPL_)DFU) += spl_dfu.o
Philipp Tomsichf94e6432017-07-04 11:16:47 +020032obj-$(CONFIG_$(SPL_TPL_)SPI_LOAD) += spl_spi.o
33obj-$(CONFIG_$(SPL_TPL_)RAM_SUPPORT) += spl_ram.o
Stefan Agnera3774c12017-08-16 11:00:54 -070034obj-$(CONFIG_$(SPL_TPL_)USB_SDP_SUPPORT) += spl_sdp.o
Tom Rini47f7bca2012-08-13 12:03:19 -070035endif