| # |
| # (C) Copyright 2012 |
| # Texas Instruments Incorporated - http://www.ti.com/ |
| # Aneesh V <aneesh@ti.com> |
| # |
| # SPDX-License-Identifier: GPL-2.0+ |
| # |
| # Based on common/Makefile. |
| # |
| |
| ifdef CONFIG_SPL_BUILD |
| obj-$(CONFIG_SPL_FRAMEWORK) += spl.o |
| obj-$(CONFIG_SPL_NOR_SUPPORT) += spl_nor.o |
| obj-$(CONFIG_SPL_YMODEM_SUPPORT) += spl_ymodem.o |
| obj-$(CONFIG_SPL_NAND_SUPPORT) += spl_nand.o |
| obj-$(CONFIG_SPL_ONENAND_SUPPORT) += spl_onenand.o |
| obj-$(CONFIG_SPL_NET_SUPPORT) += spl_net.o |
| obj-$(CONFIG_SPL_MMC_SUPPORT) += spl_mmc.o |
| obj-$(CONFIG_SPL_USB_SUPPORT) += spl_usb.o |
| obj-$(CONFIG_SPL_FAT_SUPPORT) += spl_fat.o |
| obj-$(CONFIG_SPL_SATA_SUPPORT) += spl_sata.o |
| endif |