blob: ed02635e720d35f952903e38691a1beccfb4d0b3 [file] [log] [blame]
Tom Rini47f7bca2012-08-13 12:03:19 -07001#
2# (C) Copyright 2012
3# Texas Instruments Incorporated - http://www.ti.com/
4# Aneesh V <aneesh@ti.com>
5#
Wolfgang Denk1a459662013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Tom Rini47f7bca2012-08-13 12:03:19 -07007#
8# Based on common/Makefile.
9#
10
Tom Rini47f7bca2012-08-13 12:03:19 -070011ifdef CONFIG_SPL_BUILD
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090012obj-$(CONFIG_SPL_FRAMEWORK) += spl.o
Simon Glassf1dcee52016-02-22 22:55:56 -070013obj-$(CONFIG_SPL_LOAD_FIT) += spl_fit.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090014obj-$(CONFIG_SPL_NOR_SUPPORT) += spl_nor.o
15obj-$(CONFIG_SPL_YMODEM_SUPPORT) += spl_ymodem.o
Ladislav Michlbf55cd42016-07-12 20:28:13 +020016ifndef CONFIG_SPL_UBI
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090017obj-$(CONFIG_SPL_NAND_SUPPORT) += spl_nand.o
18obj-$(CONFIG_SPL_ONENAND_SUPPORT) += spl_onenand.o
Ladislav Michlbf55cd42016-07-12 20:28:13 +020019endif
20obj-$(CONFIG_SPL_UBI) += spl_ubi.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090021obj-$(CONFIG_SPL_NET_SUPPORT) += spl_net.o
22obj-$(CONFIG_SPL_MMC_SUPPORT) += spl_mmc.o
Dan Murphy8cffe5b2014-01-16 11:23:30 -060023obj-$(CONFIG_SPL_USB_SUPPORT) += spl_usb.o
Dan Murphy773b5942014-01-16 11:23:29 -060024obj-$(CONFIG_SPL_FAT_SUPPORT) += spl_fat.o
Guillaume GARDET592f9222014-10-15 17:53:12 +020025obj-$(CONFIG_SPL_EXT_SUPPORT) += spl_ext.o
Dan Murphyfff40a72014-02-03 06:59:01 -060026obj-$(CONFIG_SPL_SATA_SUPPORT) += spl_sata.o
B, Ravi52f2acc2016-07-28 17:39:16 +053027obj-$(CONFIG_SPL_DFU_SUPPORT) += spl_dfu.o
Simon Glass0a9b73a2016-09-24 18:20:08 -060028obj-$(CONFIG_SPL_SPI_LOAD) += spl_spi.o
Tom Rini47f7bca2012-08-13 12:03:19 -070029endif