2012-08-14 04:03:19 +09:00
|
|
|
#
|
|
|
|
# (C) Copyright 2012
|
|
|
|
# Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
# Aneesh V <aneesh@ti.com>
|
|
|
|
#
|
2013-07-08 16:37:19 +09:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2012-08-14 04:03:19 +09:00
|
|
|
#
|
|
|
|
# Based on common/Makefile.
|
|
|
|
#
|
|
|
|
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
2013-10-17 17:34:59 +09:00
|
|
|
obj-$(CONFIG_SPL_FRAMEWORK) += spl.o
|
2017-07-04 18:16:47 +09:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)BOOTROM_SUPPORT) += spl_bootrom.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)LOAD_FIT) += spl_fit.o
|
2017-08-17 17:06:59 +09:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)NOR_SUPPORT) += spl_nor.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)XIP_SUPPORT) += spl_xip.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)YMODEM_SUPPORT) += spl_ymodem.o
|
2016-07-13 03:28:13 +09:00
|
|
|
ifndef CONFIG_SPL_UBI
|
2017-07-04 18:16:47 +09:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += spl_nand.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)ONENAND_SUPPORT) += spl_onenand.o
|
2016-07-13 03:28:13 +09:00
|
|
|
endif
|
2017-07-04 18:16:47 +09:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)UBI) += spl_ubi.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)NET_SUPPORT) += spl_net.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += spl_mmc.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)ATF_SUPPORT) += spl_atf.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)USB_SUPPORT) += spl_usb.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)FAT_SUPPORT) += spl_fat.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)EXT_SUPPORT) += spl_ext.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)SATA_SUPPORT) += spl_sata.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)DFU_SUPPORT) += spl_dfu.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)SPI_LOAD) += spl_spi.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)RAM_SUPPORT) += spl_ram.o
|
2017-08-17 03:00:54 +09:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)USB_SDP_SUPPORT) += spl_sdp.o
|
2012-08-14 04:03:19 +09:00
|
|
|
endif
|