blob: 4809f9c3ec13ee4c5115f8f88864e2e7a02686e4 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Tom Rini28591df2012-08-13 12:03:19 -07002#
3# (C) Copyright 2012
Nishanth Menoneaa39c62023-11-01 15:56:03 -05004# Texas Instruments Incorporated - https://www.ti.com/
Tom Rini28591df2012-08-13 12:03:19 -07005# Aneesh V <aneesh@ti.com>
Tom Rini28591df2012-08-13 12:03:19 -07006# Based on common/Makefile.
7#
8
Tom Rini28591df2012-08-13 12:03:19 -07009ifdef CONFIG_SPL_BUILD
Heiko Stuebner4a0da7c2019-07-16 10:12:02 +020010obj-$(CONFIG_$(SPL_TPL_)FRAMEWORK) += spl.o
Philipp Tomsichae7dcd82017-07-04 11:16:47 +020011obj-$(CONFIG_$(SPL_TPL_)BOOTROM_SUPPORT) += spl_bootrom.o
12obj-$(CONFIG_$(SPL_TPL_)LOAD_FIT) += spl_fit.o
Mayuresh Chitale5d96a912023-06-03 19:32:54 +053013obj-$(CONFIG_$(SPL_TPL_)BLK_FS) += spl_blk_fs.o
Andrew Davis360ec6a2022-05-04 15:52:25 -050014obj-$(CONFIG_$(SPL_TPL_)LEGACY_IMAGE_FORMAT) += spl_legacy.o
Philipp Tomsiche062f912017-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 Michl2a8ea482016-07-12 20:28:13 +020018ifndef CONFIG_SPL_UBI
Philipp Tomsichae7dcd82017-07-04 11:16:47 +020019obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += spl_nand.o
20obj-$(CONFIG_$(SPL_TPL_)ONENAND_SUPPORT) += spl_onenand.o
Ladislav Michl2a8ea482016-07-12 20:28:13 +020021endif
Philipp Tomsichae7dcd82017-07-04 11:16:47 +020022obj-$(CONFIG_$(SPL_TPL_)UBI) += spl_ubi.o
Simon Glass041a0ac2021-08-08 12:20:30 -060023obj-$(CONFIG_$(SPL_TPL_)NET) += spl_net.o
Simon Glassb58bfe02021-08-08 12:20:09 -060024obj-$(CONFIG_$(SPL_TPL_)MMC) += spl_mmc.o
Philipp Tomsichf6618812017-09-13 21:29:36 +020025obj-$(CONFIG_$(SPL_TPL_)ATF) += spl_atf.o
Patrick Delaunaya7ca4802021-09-02 11:56:16 +020026obj-$(CONFIG_$(SPL_TPL_)OPTEE_IMAGE) += spl_optee.o
Lukas Auer515b9342019-08-21 21:14:44 +020027obj-$(CONFIG_$(SPL_TPL_)OPENSBI) += spl_opensbi.o
Abel Vesa5ea11ba52019-02-01 16:40:07 +000028obj-$(CONFIG_$(SPL_TPL_)USB_STORAGE) += spl_usb.o
Tien Fong Chee6fd0a712019-01-23 14:20:03 +080029obj-$(CONFIG_$(SPL_TPL_)FS_FAT) += spl_fat.o
Tien Fong Chee6091dd12019-01-23 14:20:05 +080030obj-$(CONFIG_$(SPL_TPL_)FS_EXT4) += spl_ext.o
Sean Andersonefc185e2023-10-14 16:47:45 -040031obj-$(CONFIG_$(SPL_TPL_)LOAD_IMX_CONTAINER) += spl_imx_container.o
Simon Glass081a45a2021-08-08 12:20:17 -060032obj-$(CONFIG_$(SPL_TPL_)SATA) += spl_sata.o
Mayuresh Chitalebd050902023-06-03 19:32:56 +053033obj-$(CONFIG_$(SPL_TPL_)NVME) += spl_nvme.o
Sean Anderson89346ad2022-03-22 16:59:19 -040034obj-$(CONFIG_$(SPL_TPL_)SEMIHOSTING) += spl_semihosting.o
Andrew F. Davis6d932e62019-01-17 13:43:02 -060035obj-$(CONFIG_$(SPL_TPL_)DFU) += spl_dfu.o
Philipp Tomsichae7dcd82017-07-04 11:16:47 +020036obj-$(CONFIG_$(SPL_TPL_)SPI_LOAD) += spl_spi.o
37obj-$(CONFIG_$(SPL_TPL_)RAM_SUPPORT) += spl_ram.o
Stefan Agnerd0d9d212017-08-16 11:00:54 -070038obj-$(CONFIG_$(SPL_TPL_)USB_SDP_SUPPORT) += spl_sdp.o
Tom Rini28591df2012-08-13 12:03:19 -070039endif