1# 2# (C) Copyright 2012 3# Texas Instruments Incorporated - http://www.ti.com/ 4# Aneesh V <aneesh@ti.com> 5# 6# SPDX-License-Identifier: GPL-2.0+ 7# 8# Based on common/Makefile. 9# 10 11ifdef CONFIG_SPL_BUILD 12obj-$(CONFIG_SPL_FRAMEWORK) += spl.o 13obj-$(CONFIG_SPL_LOAD_FIT) += spl_fit.o 14obj-$(CONFIG_SPL_NOR_SUPPORT) += spl_nor.o 15obj-$(CONFIG_SPL_XIP_SUPPORT) += spl_xip.o 16obj-$(CONFIG_SPL_YMODEM_SUPPORT) += spl_ymodem.o 17ifndef CONFIG_SPL_UBI 18obj-$(CONFIG_SPL_NAND_SUPPORT) += spl_nand.o 19obj-$(CONFIG_SPL_ONENAND_SUPPORT) += spl_onenand.o 20endif 21obj-$(CONFIG_SPL_UBI) += spl_ubi.o 22obj-$(CONFIG_SPL_NET_SUPPORT) += spl_net.o 23obj-$(CONFIG_SPL_MMC_SUPPORT) += spl_mmc.o 24obj-$(CONFIG_SPL_ATF_SUPPORT) += spl_atf.o 25obj-$(CONFIG_SPL_USB_SUPPORT) += spl_usb.o 26obj-$(CONFIG_SPL_FAT_SUPPORT) += spl_fat.o 27obj-$(CONFIG_SPL_EXT_SUPPORT) += spl_ext.o 28obj-$(CONFIG_SPL_SATA_SUPPORT) += spl_sata.o 29obj-$(CONFIG_SPL_DFU_SUPPORT) += spl_dfu.o 30obj-$(CONFIG_SPL_SPI_LOAD) += spl_spi.o 31obj-$(CONFIG_SPL_RAM_SUPPORT) += spl_ram.o 32endif 33