Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Tom Rini | 28591df | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2012 |
Nishanth Menon | eaa39c6 | 2023-11-01 15:56:03 -0500 | [diff] [blame] | 4 | # Texas Instruments Incorporated - https://www.ti.com/ |
Tom Rini | 28591df | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 5 | # Aneesh V <aneesh@ti.com> |
Tom Rini | 28591df | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 6 | # Based on common/Makefile. |
| 7 | # |
| 8 | |
Simon Glass | 0e84d96 | 2024-09-29 19:49:50 -0600 | [diff] [blame] | 9 | ifdef CONFIG_XPL_BUILD |
Simon Glass | 4cafa21 | 2024-09-29 19:49:54 -0600 | [diff] [blame] | 10 | obj-$(CONFIG_$(PHASE_)FRAMEWORK) += spl.o |
| 11 | obj-$(CONFIG_$(PHASE_)BOOTROM_SUPPORT) += spl_bootrom.o |
| 12 | obj-$(CONFIG_$(PHASE_)LOAD_FIT) += spl_fit.o |
| 13 | obj-$(CONFIG_$(PHASE_)BLK_FS) += spl_blk_fs.o |
| 14 | obj-$(CONFIG_$(PHASE_)LEGACY_IMAGE_FORMAT) += spl_legacy.o |
| 15 | obj-$(CONFIG_$(PHASE_)NOR_SUPPORT) += spl_nor.o |
| 16 | obj-$(CONFIG_$(PHASE_)XIP_SUPPORT) += spl_xip.o |
| 17 | obj-$(CONFIG_$(PHASE_)YMODEM_SUPPORT) += spl_ymodem.o |
Ladislav Michl | 2a8ea48 | 2016-07-12 20:28:13 +0200 | [diff] [blame] | 18 | ifndef CONFIG_SPL_UBI |
Simon Glass | 4cafa21 | 2024-09-29 19:49:54 -0600 | [diff] [blame] | 19 | obj-$(CONFIG_$(PHASE_)NAND_SUPPORT) += spl_nand.o |
| 20 | obj-$(CONFIG_$(PHASE_)ONENAND_SUPPORT) += spl_onenand.o |
Ladislav Michl | 2a8ea48 | 2016-07-12 20:28:13 +0200 | [diff] [blame] | 21 | endif |
Simon Glass | 4cafa21 | 2024-09-29 19:49:54 -0600 | [diff] [blame] | 22 | obj-$(CONFIG_$(PHASE_)UBI) += spl_ubi.o |
| 23 | obj-$(CONFIG_$(PHASE_)NET) += spl_net.o |
| 24 | obj-$(CONFIG_$(PHASE_)MMC) += spl_mmc.o |
| 25 | obj-$(CONFIG_$(PHASE_)ATF) += spl_atf.o |
| 26 | obj-$(CONFIG_$(PHASE_)OPTEE_IMAGE) += spl_optee.o |
| 27 | obj-$(CONFIG_$(PHASE_)OPENSBI) += spl_opensbi.o |
| 28 | obj-$(CONFIG_$(PHASE_)USB_STORAGE) += spl_usb.o |
| 29 | obj-$(CONFIG_$(PHASE_)FS_FAT) += spl_fat.o |
| 30 | obj-$(CONFIG_$(PHASE_)FS_EXT4) += spl_ext.o |
| 31 | obj-$(CONFIG_$(PHASE_)LOAD_IMX_CONTAINER) += spl_imx_container.o |
| 32 | obj-$(CONFIG_$(PHASE_)SATA) += spl_sata.o |
| 33 | obj-$(CONFIG_$(PHASE_)NVME) += spl_nvme.o |
| 34 | obj-$(CONFIG_$(PHASE_)SEMIHOSTING) += spl_semihosting.o |
| 35 | obj-$(CONFIG_$(PHASE_)DFU) += spl_dfu.o |
| 36 | obj-$(CONFIG_$(PHASE_)SPI_LOAD) += spl_spi.o |
| 37 | obj-$(CONFIG_$(PHASE_)RAM_SUPPORT) += spl_ram.o |
| 38 | obj-$(CONFIG_$(PHASE_)USB_SDP_SUPPORT) += spl_sdp.o |
Tom Rini | 28591df | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 39 | endif |
Simon Glass | bc3ec00 | 2024-08-07 16:47:31 -0600 | [diff] [blame] | 40 | |
Simon Glass | 4cafa21 | 2024-09-29 19:49:54 -0600 | [diff] [blame] | 41 | obj-$(CONFIG_$(PHASE_)UPL) += spl_upl.o |