blob: 189b2727d3cb4793068668f614c05911378b47e5 [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
Philipp Tomsich225d30b2017-06-22 23:38:36 +020013obj-$(CONFIG_SPL_BOOTROM_SUPPORT) += spl_bootrom.o
Simon Glassf1dcee52016-02-22 22:55:56 -070014obj-$(CONFIG_SPL_LOAD_FIT) += spl_fit.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090015obj-$(CONFIG_SPL_NOR_SUPPORT) += spl_nor.o
Vikas Manochac6d9e9d2017-05-28 12:55:11 -070016obj-$(CONFIG_SPL_XIP_SUPPORT) += spl_xip.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090017obj-$(CONFIG_SPL_YMODEM_SUPPORT) += spl_ymodem.o
Ladislav Michlbf55cd42016-07-12 20:28:13 +020018ifndef CONFIG_SPL_UBI
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090019obj-$(CONFIG_SPL_NAND_SUPPORT) += spl_nand.o
20obj-$(CONFIG_SPL_ONENAND_SUPPORT) += spl_onenand.o
Ladislav Michlbf55cd42016-07-12 20:28:13 +020021endif
22obj-$(CONFIG_SPL_UBI) += spl_ubi.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090023obj-$(CONFIG_SPL_NET_SUPPORT) += spl_net.o
24obj-$(CONFIG_SPL_MMC_SUPPORT) += spl_mmc.o
Kever Yangbcc17262017-05-05 11:47:45 +080025obj-$(CONFIG_SPL_ATF_SUPPORT) += spl_atf.o
Dan Murphy8cffe5b2014-01-16 11:23:30 -060026obj-$(CONFIG_SPL_USB_SUPPORT) += spl_usb.o
Dan Murphy773b5942014-01-16 11:23:29 -060027obj-$(CONFIG_SPL_FAT_SUPPORT) += spl_fat.o
Guillaume GARDET592f9222014-10-15 17:53:12 +020028obj-$(CONFIG_SPL_EXT_SUPPORT) += spl_ext.o
Dan Murphyfff40a72014-02-03 06:59:01 -060029obj-$(CONFIG_SPL_SATA_SUPPORT) += spl_sata.o
B, Ravi52f2acc2016-07-28 17:39:16 +053030obj-$(CONFIG_SPL_DFU_SUPPORT) += spl_dfu.o
Simon Glass0a9b73a2016-09-24 18:20:08 -060031obj-$(CONFIG_SPL_SPI_LOAD) += spl_spi.o
Stefan Agner22802f42016-12-23 07:51:53 +010032obj-$(CONFIG_SPL_RAM_SUPPORT) += spl_ram.o
Tom Rini47f7bca2012-08-13 12:03:19 -070033endif